Re: [PATCH V3 2/2] Add support for Awinic proximity sensor

From: kernel test robot
Date: Sat Jul 13 2024 - 06:34:30 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 43db1e03c086ed20cc75808d3f45e780ec4ca26e]

url: https://github.com/intel-lab-lkp/linux/commits/wangshuaijie-awinic-com/dt-bindings-iio-Add-YAML-to-Awinic-proximity-sensor/20240712-194024
base: 43db1e03c086ed20cc75808d3f45e780ec4ca26e
patch link: https://lore.kernel.org/r/20240712113200.2468249-3-wangshuaijie%40awinic.com
patch subject: [PATCH V3 2/2] Add support for Awinic proximity sensor
config: powerpc-randconfig-r132-20240713 (https://download.01.org/0day-ci/archive/20240713/202407131813.fFyF06Pu-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20240713/202407131813.fFyF06Pu-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/202407131813.fFyF06Pu-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/iio/proximity/aw9610x.c:1056:22: sparse: sparse: symbol 'g_aw9610x_awrw' was not declared. Should it be static?

vim +/g_aw9610x_awrw +1056 drivers/iio/proximity/aw9610x.c

1055
> 1056 struct aw_sar_awrw_t g_aw9610x_awrw = {
1057 .p_set_awrw_node_fn = aw9610x_awrw_set,
1058 .p_get_awrw_node_fn = aw9610x_awrw_get,
1059 };
1060

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