Re: [PATCH 9/9] misc: add FPC202 dual port controller driver

From: kernel test robot
Date: Sat Nov 09 2024 - 15:20:17 EST


Hi Romain,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 9852d85ec9d492ebef56dc5f229416c925758edc]

url: https://github.com/intel-lab-lkp/linux/commits/Romain-Gantois/dt-bindings-misc-Describe-TI-FPC202-dual-port-controller/20241108-234053
base: 9852d85ec9d492ebef56dc5f229416c925758edc
patch link: https://lore.kernel.org/r/20241108-fpc202-v1-9-fe42c698bc92%40bootlin.com
patch subject: [PATCH 9/9] misc: add FPC202 dual port controller driver
config: openrisc-randconfig-r123-20241109 (https://download.01.org/0day-ci/archive/20241110/202411100412.QeOt1w0W-lkp@xxxxxxxxx/config)
compiler: or1k-linux-gcc (GCC) 14.2.0
reproduce: (https://download.01.org/0day-ci/archive/20241110/202411100412.QeOt1w0W-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411100412.QeOt1w0W-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/misc/ti_fpc202.c:270:20: sparse: sparse: symbol 'fpc202_atr_ops' was not declared. Should it be static?

vim +/fpc202_atr_ops +270 drivers/misc/ti_fpc202.c

269
> 270 struct i2c_atr_ops fpc202_atr_ops = {
271 .attach_addr = fpc202_attach_addr,
272 .detach_addr = fpc202_detach_addr,
273 };
274

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki