Linux IIO development
 help / color / mirror / Atom feed
* [PATCH] Removed priv field description to prevent kernel doc warning
@ 2024-03-03 14:03 R SUNDAR
  2024-03-03 14:12 ` William Breathitt Gray
  0 siblings, 1 reply; 2+ messages in thread
From: R SUNDAR @ 2024-03-03 14:03 UTC (permalink / raw)
  To: william.gray; +Cc: linux-iio, linux-kernel, R SUNDAR

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

Signed-off-by: R SUNDAR <prosunofficial@gmail.com>
---
 include/linux/counter.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/counter.h b/include/linux/counter.h
index 702e9108bbb4..b767b5c821f5 100644
--- 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
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Removed priv field description to prevent kernel doc warning
  2024-03-03 14:03 [PATCH] Removed priv field description to prevent kernel doc warning R SUNDAR
@ 2024-03-03 14:12 ` William Breathitt Gray
  0 siblings, 0 replies; 2+ messages in thread
From: William Breathitt Gray @ 2024-03-03 14:12 UTC (permalink / raw)
  To: R SUNDAR; +Cc: linux-iio, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]

On Sun, Mar 03, 2024 at 07:33:00PM +0530, R SUNDAR wrote:
> ./include/linux/counter.h:400: warning: Excess struct member 'priv' description in 'counter_device'
> 
> Signed-off-by: R SUNDAR <prosunofficial@gmail.com>
> ---
>  include/linux/counter.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/counter.h b/include/linux/counter.h
> index 702e9108bbb4..b767b5c821f5 100644
> --- 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
> -- 
> 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/20231223050511.13849-1-rdunlap@infradead.org/
[^2]: https://git.kernel.org/pub/scm/linux/kernel/git/wbg/counter.git/commit/?h=counter-next&id=0b3bbd8f9baf245ec77d86f6f5bc902105b4bfa9

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-03 14:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-03 14:03 [PATCH] Removed priv field description to prevent kernel doc warning R SUNDAR
2024-03-03 14:12 ` William Breathitt Gray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox