From: kernel test robot <lkp@intel.com>
To: "Guido Günther" <agx@sigxcpu.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Pavel <pavel@ucw.cz>
Subject: drivers/leds/leds-lm3692x.c:121: warning: Function parameter or struct member 'brightness_ctrl' not described in 'lm3692x_led'
Date: Sun, 22 Dec 2024 02:45:56 +0800 [thread overview]
Message-ID: <202412220226.Dfmc2u0x-lkp@intel.com> (raw)
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
next reply other threads:[~2024-12-21 18:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-21 18:45 kernel test robot [this message]
2024-12-29 10:32 kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202412220226.Dfmc2u0x-lkp@intel.com \
--to=lkp@intel.com \
--cc=agx@sigxcpu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pavel@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®