Skip to contentSkip to conversation

leds: mlxreg: fix a kernel-doc warning

PATCH In review Randy Dunlap 2 participants 4 messages Feb 21, 2024 – Feb 26, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: mlxreg: fix a kernel-doc warning

Drop one struct description to fix a kernel-doc warning:

drivers/leds/leds-mlxreg.c:42: warning: Excess struct member 'led_data' description in 'mlxreg_led_data'

Cc Vadim Pasternak <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Lee Jones <[email protected]>
---
 drivers/leds/leds-mlxreg.c |    1 -
 1 file changed, 1 deletion(-)
drivers/leds/leds-mlxreg.c +0 -1
diff -- a/drivers/leds/leds-mlxreg.c b/drivers/leds/leds-mlxreg.c
@@ -29,7 +29,6 @@
  * @data: led configuration data;
  * @led_cdev: led class data;
  * @base_color: base led color (other colors have constant offset from base);
- * @led_data: led data;
  * @data_parent: pointer to private device control data of parent;
  * @led_cdev_name: class device name
  */
maintainer
#1 lore raw

On Tue, 20 Feb 2024, Randy Dunlap wrote:

Would you mind being more descriptive in your subject lines please?

It's common for people (me included) to find subject lines a reliable way to search through Git history and these types of descriptions are likely to cause duplication.

Thanks.

Quoted 24 lines

Drop one struct description to fix a kernel-doc warning:

drivers/leds/leds-mlxreg.c:42: warning: Excess struct member 'led_data' description in 'mlxreg_led_data'

Cc Vadim Pasternak <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Lee Jones <[email protected]>
---
 drivers/leds/leds-mlxreg.c |    1 -
 1 file changed, 1 deletion(-)

diff -- a/drivers/leds/leds-mlxreg.c b/drivers/leds/leds-mlxreg.c

drivers/leds/leds-mlxreg.c +0 -1
@@ -29,7 +29,6 @@
  * @data: led configuration data;
  * @led_cdev: led class data;
  * @base_color: base led color (other colors have constant offset from base);
- * @led_data: led data;
  * @data_parent: pointer to private device control data of parent;
  * @led_cdev_name: class device name
  */
Signature · 1 line
Lee Jones [李琼斯]
maintainer
#2 lore raw
Quoted 7 lines · Lee Jones

On Tue, 20 Feb 2024, Randy Dunlap wrote:

Would you mind being more descriptive in your subject lines please?

It's common for people (me included) to find subject lines a reliable way to search through Git history and these types of descriptions are likely to cause duplication.

Also if you push them in a set, they're easier to apply.

Signature · 1 line
Lee Jones [李琼斯]
#3 lore raw

Hi,

Quoted 5 lines · Lee Jones
Quoted 3 lines · Lee Jones

On Tue, 20 Feb 2024, Randy Dunlap wrote:

Would you mind being more descriptive in your subject lines please?

Will do.

Quoted 5 lines
Quoted 3 lines

It's common for people (me included) to find subject lines a reliable way to search through Git history and these types of descriptions are likely to cause duplication.

Also if you push them in a set, they're easier to apply.

Do you mean a git tree or a patch series?
I'll be glad to change the 3 patches to a patch series.

Thanks.

Signature · 1 line
#Randy