Skip to contentSkip to conversation

counter: linux/counter.h: fix Excess kernel-doc description warning

PATCH Applied Randy Dunlap 2 participants 4 messages Dec 23, 2023 – Dec 28, 2023

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

PATCH 1/1 counter: linux/counter.h: fix Excess kernel-doc description warning

Remove the @priv: line to prevent the kernel-doc warning:

include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device'

---
 include/linux/counter.h |    1 -
 1 file changed, 1 deletion(-)
include/linux/counter.h +0 -1
diff -- a/include/linux/counter.h b/include/linux/counter.h
@@ -359,7 +359,6 @@ struct counter_ops {
  * @num_counts:		number of Counts specified in @counts
  * @ext:		optional array of Counter device extensions
  * @num_ext:		number of Counter device extensions specified in @ext
- * @priv:		optional private data supplied by driver
  * @dev:		internal device structure
  * @chrdev:		internal character device structure
  * @events_list:	list of current watching Counter events
#1 lore raw
Quoted 15 lines · Randy Dunlap

Remove the @priv: line to prevent the kernel-doc warning:

include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device'

---
 include/linux/counter.h |    1 -
 1 file changed, 1 deletion(-)

diff -- a/include/linux/counter.h b/include/linux/counter.h

include/linux/counter.h struct counter_ops { · line 364

Quoted 7 lines
include/linux/counter.h +0 -1
@@ -359,7 +359,6 @@ struct counter_ops {
  * @num_counts:		number of Counts specified in @counts
  * @ext:		optional array of Counter device extensions
  * @num_ext:		number of Counter device extensions specified in @ext
- * @priv:		optional private data supplied by driver
  * @dev:		internal device structure
  * @chrdev:		internal character device structure
  * @events_list:	list of current watching Counter events

Hi Randy,

Would you provide a Fixes tag for the commit that removed the 'priv' member so we can track when this warning appeared? You can respond with it to this thread and I'll add it in when I merge your patch.

Thanks,

William Breathitt Gray

#2 lore raw
Quoted 26 lines · William Breathitt Gray
Quoted 15 lines · Randy Dunlap

Remove the @priv: line to prevent the kernel-doc warning:

include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device'

---
 include/linux/counter.h |    1 -
 1 file changed, 1 deletion(-)

diff -- a/include/linux/counter.h b/include/linux/counter.h

include/linux/counter.h struct counter_ops { · line 364

Quoted 7 lines
include/linux/counter.h +0 -1
@@ -359,7 +359,6 @@ struct counter_ops {
  * @num_counts:		number of Counts specified in @counts
  * @ext:		optional array of Counter device extensions
  * @num_ext:		number of Counter device extensions specified in @ext
- * @priv:		optional private data supplied by driver
  * @dev:		internal device structure
  * @chrdev:		internal character device structure
  * @events_list:	list of current watching Counter events

Hi Randy,

Quoted 3 lines

Would you provide a Fixes tag for the commit that removed the 'priv' member so we can track when this warning appeared? You can respond with it to this thread and I'll add it in when I merge your patch.

Fixes f2ee4759fb70 ("counter: remove old and now unused registration API")

Thank you.

Signature · 1 line
#Randy
#3 lore raw
Quoted 29 lines · Randy Dunlap
Quoted 26 lines · William Breathitt Gray
Quoted 15 lines · Randy Dunlap

Remove the @priv: line to prevent the kernel-doc warning:

include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device'

---
 include/linux/counter.h |    1 -
 1 file changed, 1 deletion(-)

diff -- a/include/linux/counter.h b/include/linux/counter.h

include/linux/counter.h struct counter_ops { · line 364

Quoted 7 lines
include/linux/counter.h +0 -1
@@ -359,7 +359,6 @@ struct counter_ops {
  * @num_counts:		number of Counts specified in @counts
  * @ext:		optional array of Counter device extensions
  * @num_ext:		number of Counter device extensions specified in @ext
- * @priv:		optional private data supplied by driver
  * @dev:		internal device structure
  * @chrdev:		internal character device structure
  * @events_list:	list of current watching Counter events

Hi Randy,

Quoted 10 lines
Quoted 3 lines

Would you provide a Fixes tag for the commit that removed the 'priv' member so we can track when this warning appeared? You can respond with it to this thread and I'll add it in when I merge your patch.

Fixes f2ee4759fb70 ("counter: remove old and now unused registration API")

Thank you.

Signature · 1 line
#Randy

Applied, thanks!

[1/1] counter: linux/counter.h: fix Excess kernel-doc description warning

      commit: 49ca40f8d6ceb76bff83713f79215d8e6252f045

William Breathitt Gray