Skip to contentSkip to conversation

Removed priv field description to prevent kernel doc warning

PATCH In review R SUNDAR 2 participants 2 messages Mar 3, 2024

Subsystems (2)
lore
Share & tools
lore

R SUNDAR

author
#0 lore raw

PATCH 1/1 Removed priv field description to prevent 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
index 702e9108bbb4..b767b5c821f5 100644
@@ -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
Signature · 1 line
2.34.1
#1 lore raw
Quoted 21 lines · R SUNDAR

./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
index 702e9108bbb4..b767b5c821f5 100644
@@ -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
Signature · 1 line
2.34.1

Thank you for the patch, but it looks like this was already resolved by an earlier patch[^1] and in counter-next as commit 0b3bbd8f9baf[^2]. It should be picked up with the other Counter updates in the next merge window for the Linux 6.9 cycle.

William Breathitt Gray

[^1]: https://lore.kernel.org/all/[email protected]/
[^2]: https://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter.git/commit/?h=counter-next&id=0b3bbd8f9baf245ec77d86f6f5bc902105b4bfa9