mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led'
@ 2024-12-21 18:45 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-21 18:45 UTC (permalink / raw)
  To: Guido Günther; +Cc: oe-kbuild-all, linux-kernel, Pavel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   499551201b5f4fd3c0618a3e95e3d0d15ea18f31
commit: 260718b3a35d23fe89d27cc7b5e8bd30f4bba1aa leds: lm3692x: Disable chip on brightness 0
date:   5 years ago
config: s390-randconfig-002-20241220 (https://download.01.org/0day-ci/archive/20241222/202412220226.Dfmc2u0x-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241222/202412220226.Dfmc2u0x-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412220226.Dfmc2u0x-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'lock' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'client' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'led_dev' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'regmap' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'enable_gpio' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'regulator' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'led_enable' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'model_id' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led'
>> drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led'
>> drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led'


vim +121 drivers/leds/leds-lm3692x.c

9699cb6bbef273 Dan Murphy    2017-12-12   97  
9699cb6bbef273 Dan Murphy    2017-12-12   98  /**
9699cb6bbef273 Dan Murphy    2017-12-12   99   * struct lm3692x_led -
9699cb6bbef273 Dan Murphy    2017-12-12  100   * @lock - Lock for reading/writing the device
9699cb6bbef273 Dan Murphy    2017-12-12  101   * @client - Pointer to the I2C client
9699cb6bbef273 Dan Murphy    2017-12-12  102   * @led_dev - LED class device pointer
9699cb6bbef273 Dan Murphy    2017-12-12  103   * @regmap - Devices register map
9699cb6bbef273 Dan Murphy    2017-12-12  104   * @enable_gpio - VDDIO/EN gpio to enable communication interface
9699cb6bbef273 Dan Murphy    2017-12-12  105   * @regulator - LED supply regulator pointer
07abd4325e7013 Dan Murphy    2018-07-02  106   * @led_enable - LED sync to be enabled
07abd4325e7013 Dan Murphy    2018-07-02  107   * @model_id - Current device model ID enumerated
9699cb6bbef273 Dan Murphy    2017-12-12  108   */
9699cb6bbef273 Dan Murphy    2017-12-12  109  struct lm3692x_led {
9699cb6bbef273 Dan Murphy    2017-12-12  110  	struct mutex lock;
9699cb6bbef273 Dan Murphy    2017-12-12  111  	struct i2c_client *client;
9699cb6bbef273 Dan Murphy    2017-12-12  112  	struct led_classdev led_dev;
9699cb6bbef273 Dan Murphy    2017-12-12  113  	struct regmap *regmap;
9699cb6bbef273 Dan Murphy    2017-12-12  114  	struct gpio_desc *enable_gpio;
9699cb6bbef273 Dan Murphy    2017-12-12  115  	struct regulator *regulator;
07abd4325e7013 Dan Murphy    2018-07-02  116  	int led_enable;
07abd4325e7013 Dan Murphy    2018-07-02  117  	int model_id;
cffd61a5c77555 Guido Günther 2020-01-04  118  
260718b3a35d23 Guido Günther 2020-01-06  119  	u8 boost_ctrl, brightness_ctrl;
260718b3a35d23 Guido Günther 2020-01-06  120  	bool enabled;
9699cb6bbef273 Dan Murphy    2017-12-12 @121  };
9699cb6bbef273 Dan Murphy    2017-12-12  122  

:::::: The code at line 121 was first introduced by commit
:::::: 9699cb6bbef273d7be25441bfc20a2db9ee0f509 leds: lm3692x: Introduce LM3692x dual string driver

:::::: TO: Dan Murphy <dmurphy@ti.com>
:::::: CC: Jacek Anaszewski <jacek.anaszewski@gmail.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led'
@ 2024-12-29 10:32 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2024-12-29 10:32 UTC (permalink / raw)
  To: Guido Günther; +Cc: oe-kbuild-all, linux-kernel, Pavel

Hi Guido,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   059dd502b263d8a4e2a84809cf1068d6a3905e6f
commit: 260718b3a35d23fe89d27cc7b5e8bd30f4bba1aa leds: lm3692x: Disable chip on brightness 0
date:   5 years ago
config: sparc-randconfig-002-20241212 (https://download.01.org/0day-ci/archive/20241229/202412291851.oUEqhWj3-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241229/202412291851.oUEqhWj3-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412291851.oUEqhWj3-lkp@intel.com/

All warnings (new ones prefixed by >>):

   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'lock' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'client' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'led_dev' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'regmap' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'enable_gpio' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'regulator' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'led_enable' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'model_id' not described in 'lm3692x_led'
   drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'boost_ctrl' not described in 'lm3692x_led'
>> drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led'
>> drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'enabled' not described in 'lm3692x_led'

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for COMPAT_BINFMT_ELF
   Depends on [n]: COMPAT [=y] && BINFMT_ELF [=n]
   Selected by [y]:
   - COMPAT [=y] && SPARC64 [=y]


vim +121 drivers/leds/leds-lm3692x.c

9699cb6bbef273 Dan Murphy    2017-12-12   97  
9699cb6bbef273 Dan Murphy    2017-12-12   98  /**
9699cb6bbef273 Dan Murphy    2017-12-12   99   * struct lm3692x_led -
9699cb6bbef273 Dan Murphy    2017-12-12  100   * @lock - Lock for reading/writing the device
9699cb6bbef273 Dan Murphy    2017-12-12  101   * @client - Pointer to the I2C client
9699cb6bbef273 Dan Murphy    2017-12-12  102   * @led_dev - LED class device pointer
9699cb6bbef273 Dan Murphy    2017-12-12  103   * @regmap - Devices register map
9699cb6bbef273 Dan Murphy    2017-12-12  104   * @enable_gpio - VDDIO/EN gpio to enable communication interface
9699cb6bbef273 Dan Murphy    2017-12-12  105   * @regulator - LED supply regulator pointer
07abd4325e7013 Dan Murphy    2018-07-02  106   * @led_enable - LED sync to be enabled
07abd4325e7013 Dan Murphy    2018-07-02  107   * @model_id - Current device model ID enumerated
9699cb6bbef273 Dan Murphy    2017-12-12  108   */
9699cb6bbef273 Dan Murphy    2017-12-12  109  struct lm3692x_led {
9699cb6bbef273 Dan Murphy    2017-12-12  110  	struct mutex lock;
9699cb6bbef273 Dan Murphy    2017-12-12  111  	struct i2c_client *client;
9699cb6bbef273 Dan Murphy    2017-12-12  112  	struct led_classdev led_dev;
9699cb6bbef273 Dan Murphy    2017-12-12  113  	struct regmap *regmap;
9699cb6bbef273 Dan Murphy    2017-12-12  114  	struct gpio_desc *enable_gpio;
9699cb6bbef273 Dan Murphy    2017-12-12  115  	struct regulator *regulator;
07abd4325e7013 Dan Murphy    2018-07-02  116  	int led_enable;
07abd4325e7013 Dan Murphy    2018-07-02  117  	int model_id;
cffd61a5c77555 Guido Günther 2020-01-04  118  
260718b3a35d23 Guido Günther 2020-01-06  119  	u8 boost_ctrl, brightness_ctrl;
260718b3a35d23 Guido Günther 2020-01-06  120  	bool enabled;
9699cb6bbef273 Dan Murphy    2017-12-12 @121  };
9699cb6bbef273 Dan Murphy    2017-12-12  122  

:::::: The code at line 121 was first introduced by commit
:::::: 9699cb6bbef273d7be25441bfc20a2db9ee0f509 leds: lm3692x: Introduce LM3692x dual string driver

:::::: TO: Dan Murphy <dmurphy@ti.com>
:::::: CC: Jacek Anaszewski <jacek.anaszewski@gmail.com>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-29 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-21 18:45 drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led' kernel test robot
2024-12-29 10:32 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®