Re: [PATCH 1/3] pwm: cros-ec: Don't care about consumers in .get_state()

From: kernel test robot
Date: Sat Jun 08 2024 - 10:25:09 EST


Hi Uwe,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0]

url: https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig/pwm-cros-ec-Don-t-care-about-consumers-in-get_state/20240607-164747
base: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
patch link: https://lore.kernel.org/r/20240607084416.897777-6-u.kleine-koenig%40baylibre.com
patch subject: [PATCH 1/3] pwm: cros-ec: Don't care about consumers in .get_state()
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240608/202406082139.KG4VcZiF-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240608/202406082139.KG4VcZiF-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/202406082139.KG4VcZiF-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/pwm/pwm-cros-ec.c:28: warning: Excess struct member 'channel' description in 'cros_ec_pwm_device'


vim +28 drivers/pwm/pwm-cros-ec.c

3d593b6e80ad2c Fabio Baltieri 2022-04-28 17
1f0d3bb02785f6 Brian Norris 2016-07-15 18 /**
1f0d3bb02785f6 Brian Norris 2016-07-15 19 * struct cros_ec_pwm_device - Driver data for EC PWM
1f0d3bb02785f6 Brian Norris 2016-07-15 20 *
1f0d3bb02785f6 Brian Norris 2016-07-15 21 * @ec: Pointer to EC device
3d593b6e80ad2c Fabio Baltieri 2022-04-28 22 * @use_pwm_type: Use PWM types instead of generic channels
82adc1b2688b02 Uwe Kleine-König 2023-07-05 23 * @channel: array with per-channel data
1f0d3bb02785f6 Brian Norris 2016-07-15 24 */
1f0d3bb02785f6 Brian Norris 2016-07-15 25 struct cros_ec_pwm_device {
1f0d3bb02785f6 Brian Norris 2016-07-15 26 struct cros_ec_device *ec;
3d593b6e80ad2c Fabio Baltieri 2022-04-28 27 bool use_pwm_type;
1db37f9561b2b3 Thierry Reding 2019-10-17 @28 };
1db37f9561b2b3 Thierry Reding 2019-10-17 29

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