[PATCH v2] mfd: tc6393xb: Make disable callback return void
kernel test robot
lkp at intel.com
Sun Jun 19 11:20:57 PDT 2022
Hi "Uwe,
I love your patch! Yet something to improve:
[auto build test ERROR on f2906aa863381afb0015a9eb7fefad885d4e5a56]
url: https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig/mfd-tc6393xb-Make-disable-callback-return-void/20220619-162855
base: f2906aa863381afb0015a9eb7fefad885d4e5a56
config: arm-pxa_defconfig (https://download.01.org/0day-ci/archive/20220620/202206200102.cUbYiyCL-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/e2b80b7c107cdbbff99189431a614f791435ebfd
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Uwe-Kleine-K-nig/mfd-tc6393xb-Make-disable-callback-return-void/20220619-162855
git checkout e2b80b7c107cdbbff99189431a614f791435ebfd
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
arch/arm/mach-pxa/eseries.c:47:13: warning: no previous prototype for 'eseries_fixup' [-Wmissing-prototypes]
47 | void __init eseries_fixup(struct tag *tags, char **cmdline)
| ^~~~~~~~~~~~~
arch/arm/mach-pxa/eseries.c:76:5: warning: no previous prototype for 'eseries_tmio_enable' [-Wmissing-prototypes]
76 | int eseries_tmio_enable(struct platform_device *dev)
| ^~~~~~~~~~~~~~~~~~~
arch/arm/mach-pxa/eseries.c:89:6: warning: no previous prototype for 'eseries_tmio_disable' [-Wmissing-prototypes]
89 | void eseries_tmio_disable(struct platform_device *dev)
| ^~~~~~~~~~~~~~~~~~~~
arch/arm/mach-pxa/eseries.c:95:5: warning: no previous prototype for 'eseries_tmio_suspend' [-Wmissing-prototypes]
95 | int eseries_tmio_suspend(struct platform_device *dev)
| ^~~~~~~~~~~~~~~~~~~~
arch/arm/mach-pxa/eseries.c:101:5: warning: no previous prototype for 'eseries_tmio_resume' [-Wmissing-prototypes]
101 | int eseries_tmio_resume(struct platform_device *dev)
| ^~~~~~~~~~~~~~~~~~~
arch/arm/mach-pxa/eseries.c:108:6: warning: no previous prototype for 'eseries_get_tmio_gpios' [-Wmissing-prototypes]
108 | void eseries_get_tmio_gpios(void)
| ^~~~~~~~~~~~~~~~~~~~~~
>> arch/arm/mach-pxa/eseries.c:141:21: error: initialization of 'int (*)(struct platform_device *)' from incompatible pointer type 'void (*)(struct platform_device *)' [-Werror=incompatible-pointer-types]
141 | .disable = &eseries_tmio_disable,
| ^
arch/arm/mach-pxa/eseries.c:141:21: note: (near initialization for 'e330_tc6387xb_info.disable')
cc1: some warnings being treated as errors
vim +141 arch/arm/mach-pxa/eseries.c
e478fe4cd50b86 Eric Miao 2010-06-20 138
e478fe4cd50b86 Eric Miao 2010-06-20 139 static struct tc6387xb_platform_data e330_tc6387xb_info = {
e478fe4cd50b86 Eric Miao 2010-06-20 140 .enable = &eseries_tmio_enable,
e478fe4cd50b86 Eric Miao 2010-06-20 @141 .disable = &eseries_tmio_disable,
e478fe4cd50b86 Eric Miao 2010-06-20 142 .suspend = &eseries_tmio_suspend,
e478fe4cd50b86 Eric Miao 2010-06-20 143 .resume = &eseries_tmio_resume,
e478fe4cd50b86 Eric Miao 2010-06-20 144 };
e478fe4cd50b86 Eric Miao 2010-06-20 145
--
0-DAY CI Kernel Test Service
https://01.org/lkp
More information about the linux-arm-kernel
mailing list