From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [RFC PATCH] devres: better type safety with devm_*_action()
Date: Wed, 10 Mar 2021 18:46:49 +0800 [thread overview]
Message-ID: <202103101831.xsTfGAL2-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 25125 bytes --]
CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210309235917.2134565-1-linux@rasmusvillemoes.dk>
References: <20210309235917.2134565-1-linux@rasmusvillemoes.dk>
TO: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Hi Rasmus,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on linux/master linus/master v5.12-rc2 next-20210309]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Rasmus-Villemoes/devres-better-type-safety-with-devm_-_action/20210310-080019
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git a38fd8748464831584a19438cbb3082b5a2dab15
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
config: x86_64-randconfig-s022-20210309 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-262-g5e674421-dirty
# https://github.com/0day-ci/linux/commit/663d41317b8fa291fc1c82100b3e2526627ab4d4
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Rasmus-Villemoes/devres-better-type-safety-with-devm_-_action/20210310-080019
git checkout 663d41317b8fa291fc1c82100b3e2526627ab4d4
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
drivers/platform/chrome/cros_ec_spi.c: note: in included file (through include/linux/platform_data/cros_ec_proto.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/platform/chrome/cros_ec_spi.c:727:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/platform/chrome/cros_ec_spi.c:727:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/platform/chrome/cros_ec_spi.c:727:15: sparse: sparse: static assertion failed: "__same_type(cros_ec_spi_high_pri_release + 0, void (*)(void *)) || __same_type(cros_ec_spi_high_pri_release + 0, void (*)(typeof(ec_spi->high_pri_worker)))"
--
drivers/staging/iio/adc/ad7280a.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/staging/iio/adc/ad7280a.c:959:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/staging/iio/adc/ad7280a.c:959:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/staging/iio/adc/ad7280a.c:959:15: sparse: sparse: static assertion failed: "__same_type(ad7280_sw_power_down + 0, void (*)(void *)) || __same_type(ad7280_sw_power_down + 0, void (*)(typeof(st)))"
--
drivers/staging/wfx/main.c: note: in included file (through include/linux/dma-mapping.h, include/linux/skbuff.h, include/linux/if_ether.h, ...):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/staging/wfx/main.c:320:13: sparse: sparse: arithmetics on pointers to functions
>> drivers/staging/wfx/main.c:320:13: sparse: sparse: arithmetics on pointers to functions
>> drivers/staging/wfx/main.c:320:13: sparse: sparse: static assertion failed: "__same_type(wfx_free_common + 0, void (*)(void *)) || __same_type(wfx_free_common + 0, void (*)(typeof(wdev)))"
--
drivers/dax/device.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/dax/device.c:446:14: sparse: sparse: arithmetics on pointers to functions
>> drivers/dax/device.c:446:14: sparse: sparse: arithmetics on pointers to functions
>> drivers/dax/device.c:446:14: sparse: sparse: static assertion failed: "__same_type(dev_dax_cdev_del + 0, void (*)(void *)) || __same_type(dev_dax_cdev_del + 0, void (*)(typeof(cdev)))"
drivers/dax/device.c:451:16: sparse: sparse: arithmetics on pointers to functions
drivers/dax/device.c:451:16: sparse: sparse: arithmetics on pointers to functions
>> drivers/dax/device.c:451:16: sparse: sparse: static assertion failed: "__same_type(dev_dax_kill + 0, void (*)(void *)) || __same_type(dev_dax_kill + 0, void (*)(typeof(dev_dax)))"
--
drivers/iio/adc/ad7292.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/ad7292.c:288:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7292.c:288:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7292.c:288:23: sparse: sparse: static assertion failed: "__same_type(ad7292_regulator_disable + 0, void (*)(void *)) || __same_type(ad7292_regulator_disable + 0, void (*)(typeof(st)))"
--
drivers/iio/adc/ad7298.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/ad7298.c:317:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7298.c:317:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7298.c:317:23: sparse: sparse: static assertion failed: "__same_type(ad7298_reg_disable + 0, void (*)(void *)) || __same_type(ad7298_reg_disable + 0, void (*)(typeof(st->reg)))"
--
drivers/iio/adc/ad7476.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/ad7476.c:293:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7476.c:293:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7476.c:293:15: sparse: sparse: static assertion failed: "__same_type(ad7476_reg_disable + 0, void (*)(void *)) || __same_type(ad7476_reg_disable + 0, void (*)(typeof(st)))"
--
drivers/iio/adc/ad7768-1.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/ad7768-1.c:595:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7768-1.c:595:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7768-1.c:595:15: sparse: sparse: static assertion failed: "__same_type(ad7768_regulator_disable + 0, void (*)(void *)) || __same_type(ad7768_regulator_disable + 0, void (*)(typeof(st)))"
drivers/iio/adc/ad7768-1.c:607:15: sparse: sparse: arithmetics on pointers to functions
drivers/iio/adc/ad7768-1.c:607:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7768-1.c:607:15: sparse: sparse: static assertion failed: "__same_type(ad7768_clk_disable + 0, void (*)(void *)) || __same_type(ad7768_clk_disable + 0, void (*)(typeof(st)))"
--
drivers/iio/adc/ad7887.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/ad7887.c:269:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7887.c:269:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad7887.c:269:23: sparse: sparse: static assertion failed: "__same_type(ad7887_reg_disable + 0, void (*)(void *)) || __same_type(ad7887_reg_disable + 0, void (*)(typeof(st->reg)))"
--
drivers/iio/adc/adi-axi-adc.c: note: in included file (through include/linux/node.h, include/linux/cpu.h, include/linux/of_device.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/adi-axi-adc.c:402:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/adi-axi-adc.c:402:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/adi-axi-adc.c:402:15: sparse: sparse: static assertion failed: "__same_type(adi_axi_adc_cleanup + 0, void (*)(void *)) || __same_type(adi_axi_adc_cleanup + 0, void (*)(typeof(cl)))"
--
drivers/iio/adc/ad9467.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/ad9467.c:415:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad9467.c:415:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/ad9467.c:415:15: sparse: sparse: static assertion failed: "__same_type(ad9467_clk_disable + 0, void (*)(void *)) || __same_type(ad9467_clk_disable + 0, void (*)(typeof(st)))"
--
drivers/iio/adc/max1241.c: note: in included file (through include/linux/iio/iio.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/adc/max1241.c:162:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/max1241.c:162:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/max1241.c:162:15: sparse: sparse: static assertion failed: "__same_type(max1241_disable_vdd_action + 0, void (*)(void *)) || __same_type(max1241_disable_vdd_action + 0, void (*)(typeof(adc)))"
drivers/iio/adc/max1241.c:178:15: sparse: sparse: arithmetics on pointers to functions
drivers/iio/adc/max1241.c:178:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/adc/max1241.c:178:15: sparse: sparse: static assertion failed: "__same_type(max1241_disable_vref_action + 0, void (*)(void *)) || __same_type(max1241_disable_vref_action + 0, void (*)(typeof(adc)))"
--
drivers/mfd/arizona-spi.c: note: in included file (through include/linux/acpi.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/mfd/arizona-spi.c:90:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/mfd/arizona-spi.c:90:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/mfd/arizona-spi.c:90:15: sparse: sparse: static assertion failed: "__same_type(arizona_spi_acpi_remove_lookup + 0, void (*)(void *)) || __same_type(arizona_spi_acpi_remove_lookup + 0, void (*)(typeof(lookup)))"
--
drivers/iio/frequency/adf4371.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/frequency/adf4371.c:590:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/frequency/adf4371.c:590:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/frequency/adf4371.c:590:15: sparse: sparse: static assertion failed: "__same_type(adf4371_clk_disable + 0, void (*)(void *)) || __same_type(adf4371_clk_disable + 0, void (*)(typeof(st)))"
--
drivers/iio/imu/adis16475.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/imu/adis16475.c:1100:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/imu/adis16475.c:1100:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/imu/adis16475.c:1100:23: sparse: sparse: static assertion failed: "__same_type(adis16475_disable_clk + 0, void (*)(void *)) || __same_type(adis16475_disable_clk + 0, void (*)(typeof(clk)))"
--
drivers/iio/imu/adis16480.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/imu/adis16480.c:1258:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/imu/adis16480.c:1258:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/imu/adis16480.c:1258:15: sparse: sparse: static assertion failed: "__same_type(adis16480_stop + 0, void (*)(void *)) || __same_type(adis16480_stop + 0, void (*)(typeof(indio_dev)))"
drivers/iio/imu/adis16480.c:1275:23: sparse: sparse: arithmetics on pointers to functions
drivers/iio/imu/adis16480.c:1275:23: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/imu/adis16480.c:1275:23: sparse: sparse: static assertion failed: "__same_type(adis16480_clk_disable + 0, void (*)(void *)) || __same_type(adis16480_clk_disable + 0, void (*)(typeof(st->ext_clk)))"
--
drivers/iio/imu/adis_buffer.c: note: in included file (through include/linux/spi/spi.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/imu/adis_buffer.c:205:16: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/imu/adis_buffer.c:205:16: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/imu/adis_buffer.c:205:16: sparse: sparse: static assertion failed: "__same_type(adis_buffer_cleanup + 0, void (*)(void *)) || __same_type(adis_buffer_cleanup + 0, void (*)(typeof(adis)))"
--
drivers/iio/position/iqs624-pos.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/position/iqs624-pos.c:265:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/position/iqs624-pos.c:265:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/position/iqs624-pos.c:265:15: sparse: sparse: static assertion failed: "__same_type(iqs624_pos_notifier_unregister + 0, void (*)(void *)) || __same_type(iqs624_pos_notifier_unregister + 0, void (*)(typeof(iqs624_pos)))"
--
drivers/iio/proximity/as3935.c: note: in included file (through include/linux/spi/spi.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/proximity/as3935.c:436:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/proximity/as3935.c:436:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/proximity/as3935.c:436:15: sparse: sparse: static assertion failed: "__same_type(as3935_stop_work + 0, void (*)(void *)) || __same_type(as3935_stop_work + 0, void (*)(typeof(indio_dev)))"
--
drivers/iio/proximity/sx9310.c: note: in included file (through include/linux/acpi.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/iio/proximity/sx9310.c:1416:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/proximity/sx9310.c:1416:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/iio/proximity/sx9310.c:1416:15: sparse: sparse: static assertion failed: "__same_type(sx9310_regulator_disable + 0, void (*)(void *)) || __same_type(sx9310_regulator_disable + 0, void (*)(typeof(data)))"
--
drivers/usb/dwc2/platform.c: note: in included file:
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/usb/dwc2/platform.c:141:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/usb/dwc2/platform.c:141:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/usb/dwc2/platform.c:141:15: sparse: sparse: static assertion failed: "__same_type(__dwc2_disable_regulators + 0, void (*)(void *)) || __same_type(__dwc2_disable_regulators + 0, void (*)(typeof(hsotg)))"
--
drivers/usb/host/xhci-ext-caps.c: note: in included file (through include/linux/platform_device.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/usb/host/xhci-ext-caps.c:75:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/usb/host/xhci-ext-caps.c:75:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/usb/host/xhci-ext-caps.c:75:15: sparse: sparse: static assertion failed: "__same_type(xhci_intel_unregister_pdev + 0, void (*)(void *)) || __same_type(xhci_intel_unregister_pdev + 0, void (*)(typeof(pdev)))"
--
drivers/input/rmi4/rmi_spi.c: note: in included file (through include/linux/rmi.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/input/rmi4/rmi_spi.c:441:17: sparse: sparse: arithmetics on pointers to functions
>> drivers/input/rmi4/rmi_spi.c:441:17: sparse: sparse: arithmetics on pointers to functions
>> drivers/input/rmi4/rmi_spi.c:441:17: sparse: sparse: static assertion failed: "__same_type(rmi_spi_unregister_transport + 0, void (*)(void *)) || __same_type(rmi_spi_unregister_transport + 0, void (*)(typeof(rmi_spi)))"
--
drivers/usb/misc/usb251xb.c: note: in included file (through include/linux/gpio/driver.h):
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: arithmetics on pointers to functions
include/linux/device.h:290:15: sparse: sparse: static assertion failed: "__same_type(action + 0, void (*)(void *)) || __same_type(action + 0, void (*)(typeof(data)))"
>> drivers/usb/misc/usb251xb.c:688:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/usb/misc/usb251xb.c:688:15: sparse: sparse: arithmetics on pointers to functions
>> drivers/usb/misc/usb251xb.c:688:15: sparse: sparse: static assertion failed: "__same_type(usb251xb_regulator_disable_action + 0, void (*)(void *)) || __same_type(usb251xb_regulator_disable_action + 0, void (*)(typeof(hub)))"
vim +727 drivers/platform/chrome/cros_ec_spi.c
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 712
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 713 static int cros_ec_spi_devm_high_pri_alloc(struct device *dev,
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 714 struct cros_ec_spi *ec_spi)
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 715 {
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 716 int err;
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 717
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 718 ec_spi->high_pri_worker =
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 719 kthread_create_worker(0, "cros_ec_spi_high_pri");
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 720
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 721 if (IS_ERR(ec_spi->high_pri_worker)) {
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 722 err = PTR_ERR(ec_spi->high_pri_worker);
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 723 dev_err(dev, "Can't create cros_ec high pri worker: %d\n", err);
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 724 return err;
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 725 }
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 726
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 @727 err = devm_add_action_or_reset(dev, cros_ec_spi_high_pri_release,
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 728 ec_spi->high_pri_worker);
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 729 if (err)
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 730 return err;
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 731
8b700983de82f7 Peter Zijlstra 2020-04-22 732 sched_set_fifo(ec_spi->high_pri_worker->task);
8b700983de82f7 Peter Zijlstra 2020-04-22 733
8b700983de82f7 Peter Zijlstra 2020-04-22 734 return 0;
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 735 }
7dadf88f8d4ea2 Douglas Anderson 2019-05-15 736
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37037 bytes --]
next reply other threads:[~2021-03-10 10:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-10 10:46 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-10 15:38 [RFC PATCH] devres: better type safety with devm_*_action() kernel test robot
2021-03-10 14:08 kernel test robot
2021-03-10 11:17 kernel test robot
2021-03-10 9:19 kernel test robot
2021-03-10 8:58 kernel test robot
2021-03-10 7:52 kernel test robot
2021-03-10 7:37 kernel test robot
2021-03-10 7:00 kernel test robot
2021-03-10 3:53 kernel test robot
2021-03-09 23:59 Rasmus Villemoes
2021-03-18 20:30 ` Rasmus Villemoes
2021-03-18 21:58 ` Kees Cook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202103101831.xsTfGAL2-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.