Re: [PATCH v3 2/2] iio: adc: add ltc2309 support

From: kernel test robot
Date: Mon Aug 28 2023 - 23:47:41 EST


Hi Liam,

kernel test robot noticed the following build warnings:

[auto build test WARNING on a5e505a99ca748583dbe558b691be1b26f05d678]

url: https://github.com/intel-lab-lkp/linux/commits/Liam-Beguin/dt-bindings-iio-adc-add-lltc-ltc2309-bindings/20230829-104615
base: a5e505a99ca748583dbe558b691be1b26f05d678
patch link: https://lore.kernel.org/r/20230828-ltc2309-v3-2-338b3a8fab8b%40gmail.com
patch subject: [PATCH v3 2/2] iio: adc: add ltc2309 support
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230829/202308291144.r2JZxP9a-lkp@xxxxxxxxx/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230829/202308291144.r2JZxP9a-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/202308291144.r2JZxP9a-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/iio/adc/ltc2309.c:42: warning: Function parameter or member 'vref_mv' not described in 'ltc2309'


vim +42 drivers/iio/adc/ltc2309.c

27
28 /**
29 * struct ltc2309 - internal device data structure
30 * @dev: Device reference
31 * @client: I2C reference
32 * @vref: External reference source
33 * @lock: Lock to serialize data access
34 * @vref_mv Internal voltage reference
35 */
36 struct ltc2309 {
37 struct device *dev;
38 struct i2c_client *client;
39 struct regulator *vref;
40 struct mutex lock; /* serialize data access */
41 int vref_mv;
> 42 };
43

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