# git rev-parse -q --verify 0840a7914caa14315a3191178a9f72c742477860^{commit} 0840a7914caa14315a3191178a9f72c742477860 already have revision, skipping fetch # git checkout -q -f -B kisskb 0840a7914caa14315a3191178a9f72c742477860 # git clean -qxdf # < git log -1 # commit 0840a7914caa14315a3191178a9f72c742477860 # Merge: c24eb8d6a5b2 315f7e15c261 # Author: Linus Torvalds # Date: Sat Jun 25 10:07:36 2022 -0700 # # Merge tag 'char-misc-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc # # Pull IIO driver fixes from Greg KH: # "Here are a set of IIO driver fixes for 5.19-rc4. Jonathan said it best # in his pull request to me, so I'll just quote it here below, as that's # the only changes we have right now for the char-misc driver tree: # # testing: # - Fix a missing MODULE_LICENSE() warning by restricting possible # build configs. # # Various drivers: # - Fix ordering of iio_get_trigger() being called before # iio_trigger_register() # # adi,admv1014: # - Fix dubious x & !y warning. # # adi,axi-adc: # - Fix missing of_node_put() in error and normal paths. # # aspeed,adc: # - Add missing of_node_put() # # fsl,mma8452: # - Fix broken probing from device tree. # - Drop check on return value of i2c write to device to cause reset # as ACK will be missing (device reset before sending it). # # fsl,vf610: # - Fix documentation of in_conversion_mode ABI. # # iio-trig-sysfs: # - Ensure irq work has finished before freeing the trigger. # # invensense,mpu3050: # - Disable regulators in error path. # # invensense,icm42600: # - Fix collision of enum value of 0 with error path where 0 is no # match. # # renesas,rzg2l_Adc: # - Add missing fwnode_handle_put() in error path. # # rescale: # - Fix a boolean logic bug for detection of raw + scale affecting # an obscure corner case. # # semtech,sx9324: # - Check return value of read of pin_defs # # st,stm32-adc: # - Fix interaction across ADC instances for some supported devices. # - Drop false spurious IRQ messages. # - Fix calibration value handling. If we can't calibrate don't # expose the vref_int channel. # - Fix maximum clock rate for stm32pm15x # # ti,ads131e08: # - Add missing fwnode_handle_put() in error paths. # # xilinx,ams: # - Fix variable checked for error from platform_get_irq() # # x-powers,axp288: # - Overide TS_PIN bias current for boards where it is not correctly # initialized. # # yamaha,yas530: # - Fix inverted check on calibration data being all zeros. # # All of these have been in linux-next for a while with no reported # problems" # # * tag 'char-misc-5.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (26 commits) # iio:proximity:sx9324: Check ret value of device_property_read_u32_array() # iio: accel: mma8452: ignore the return value of reset operation # iio: adc: stm32: fix maximum clock rate for stm32mp15x # iio: adc: stm32: fix vrefint wrong calibration value handling # iio: imu: inv_icm42600: Fix broken icm42600 (chip id 0 value) # iio: adc: vf610: fix conversion mode sysfs node name # iio: adc: adi-axi-adc: Fix refcount leak in adi_axi_adc_attach_client # iio: test: fix missing MODULE_LICENSE for IIO_RESCALE=m # iio:humidity:hts221: rearrange iio trigger get and register # iio:chemical:ccs811: rearrange iio trigger get and register # iio:accel:mxc4005: rearrange iio trigger get and register # iio:accel:kxcjk-1013: rearrange iio trigger get and register # iio:accel:bma180: rearrange iio trigger get and register # iio: afe: rescale: Fix boolean logic bug # iio: adc: aspeed: Fix refcount leak in aspeed_adc_set_trim_data # iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message # iio: adc: stm32: Fix ADCs iteration in irq handler # iio: adc: ti-ads131e08: add missing fwnode_handle_put() in ads131e08_alloc_channels() # iio: adc: rzg2l_adc: add missing fwnode_handle_put() in rzg2l_adc_parse_properties() # iio: trigger: sysfs: fix use-after-free on remove # ... # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 0840a7914caa14315a3191178a9f72c742477860 # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:4824:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:4829:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 120 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /kisskb/src/lib/test_kasan.c: In function 'krealloc_less_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:330:59: warning: array subscript 201 is outside array bounds of 'char[201]' [-Warray-bounds] 330 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:334:59: warning: array subscript 208 is outside array bounds of 'char[201]' [-Warray-bounds] 334 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:344:52: warning: array subscript 218 is outside array bounds of 'char[201]' [-Warray-bounds] 344 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[middle] = 'x'); | ~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:345:55: warning: array subscript 234 is outside array bounds of 'char[201]' [-Warray-bounds] 345 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1 - 1] = 'x'); | ~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:346:51: warning: array subscript 235 is outside array bounds of 'char[201]' [-Warray-bounds] 346 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size1] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:322:16: note: referencing an object of size 201 allocated by 'krealloc' 322 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c: In function 'krealloc_more_oob_helper.constprop': /kisskb/src/lib/test_kasan.c:301:59: warning: array subscript 235 is outside array bounds of 'char[235]' [-Warray-bounds] 301 | KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); | ~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/test_kasan.c:305:59: warning: array subscript 240 is outside array bounds of 'char[235]' [-Warray-bounds] 305 | ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /kisskb/src/lib/test_kasan.c:97:9: note: in definition of macro 'KUNIT_EXPECT_KASAN_FAIL' 97 | expression; \ | ^~~~~~~~~~ /kisskb/src/lib/test_kasan.c:290:16: note: referencing an object of size 235 allocated by 'krealloc' 290 | ptr2 = krealloc(ptr1, size2, GFP_KERNEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:01:48.263819