drivers/leds/leds-lp8860.c:103: warning: Excess struct member 'regulator' description in 'lp8860_led'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/lee/leds.git for-leds-next head: e9bde6230972ad76fc91279850edd8dbc6f1cb4d commit: fa604baf13ced084636afbfa8d93f030ad8b593c [10/12] leds: lp8860: Enable regulator using enable_optional helper config: arm-randconfig-002-20250411 (https://download.01.org/0day-ci/archive/20250411/[email protected]/config) compiler: clang version 21.0.0git (https://github.com/llvm/llvm-project f819f46284f2a79790038e1f6649172789734ae8) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250411/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/leds/leds-lp8860.c:103: warning: Excess struct member 'regulator' description in 'lp8860_led'
vim +103 drivers/leds/leds-lp8860.c
99ca0ea5730971 Jacek Anaszewski 2019-06-09 85
7a8685accb9580 Dan Murphy 2014-11-19 86 /**
46cc5941a091bd Lee Jones 2021-05-28 87 * struct lp8860_led
46cc5941a091bd Lee Jones 2021-05-28 88 * @lock: Lock for reading/writing the device
46cc5941a091bd Lee Jones 2021-05-28 89 * @client: Pointer to the I2C client
46cc5941a091bd Lee Jones 2021-05-28 90 * @led_dev: led class device pointer
46cc5941a091bd Lee Jones 2021-05-28 91 * @regmap: Devices register map
46cc5941a091bd Lee Jones 2021-05-28 92 * @eeprom_regmap: EEPROM register map
46cc5941a091bd Lee Jones 2021-05-28 93 * @enable_gpio: VDDIO/EN gpio to enable communication interface
46cc5941a091bd Lee Jones 2021-05-28 94 * @regulator: LED supply regulator pointer
8a7a76c8004387 Dan Murphy 2017-11-15 95 */
7a8685accb9580 Dan Murphy 2014-11-19 96 struct lp8860_led {
7a8685accb9580 Dan Murphy 2014-11-19 97 struct mutex lock;
7a8685accb9580 Dan Murphy 2014-11-19 98 struct i2c_client *client;
7a8685accb9580 Dan Murphy 2014-11-19 99 struct led_classdev led_dev;
7a8685accb9580 Dan Murphy 2014-11-19 100 struct regmap *regmap;
7a8685accb9580 Dan Murphy 2014-11-19 101 struct regmap *eeprom_regmap;
7a8685accb9580 Dan Murphy 2014-11-19 102 struct gpio_desc *enable_gpio;
7a8685accb9580 Dan Murphy 2014-11-19 @103 };
7a8685accb9580 Dan Murphy 2014-11-19 104 :::::: The code at line 103 was first introduced by commit
:::::: 7a8685accb95801bb29ab85d5b370999d3fb8e32 leds: lp8860: Introduce TI lp8860 4 channel LED driver
:::::: TO: Dan Murphy <[email protected]>
:::::: CC: Bryan Wu <[email protected]>
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki