LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] media: v4l2-dev.h: document VFL_TYPE_MAX
@ 2018-05-07  9:22 Mauro Carvalho Chehab
  2018-05-07  9:25 ` Hans Verkuil
  0 siblings, 1 reply; 2+ messages in thread
From: Mauro Carvalho Chehab @ 2018-05-07  9:22 UTC (permalink / raw)
  To: Linux Media Mailing List
  Cc: Mauro Carvalho Chehab, Mauro Carvalho Chehab, linux-kernel

Cleanup this Sphinx warning:
   read./include/media/v4l2-dev.h:42: warning: Enum value 'VFL_TYPE_MAX' not described in enum 'vfl_devnode_type'

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
---
 include/media/v4l2-dev.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
index f60cf9cf3b9c..9e73d7e2cee0 100644
--- a/include/media/v4l2-dev.h
+++ b/include/media/v4l2-dev.h
@@ -30,6 +30,8 @@
  * @VFL_TYPE_SUBDEV:	for V4L2 subdevices
  * @VFL_TYPE_SDR:	for Software Defined Radio tuners
  * @VFL_TYPE_TOUCH:	for touch sensors
+ *
+ * @VFL_TYPE_MAX:	number of elements of &enum vfl_devnode_type
  */
 enum vfl_devnode_type {
 	VFL_TYPE_GRABBER	= 0,
-- 
2.17.0

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

* Re: [PATCH] media: v4l2-dev.h: document VFL_TYPE_MAX
  2018-05-07  9:22 [PATCH] media: v4l2-dev.h: document VFL_TYPE_MAX Mauro Carvalho Chehab
@ 2018-05-07  9:25 ` Hans Verkuil
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Verkuil @ 2018-05-07  9:25 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Linux Media Mailing List
  Cc: Mauro Carvalho Chehab, linux-kernel

On 07/05/18 11:22, Mauro Carvalho Chehab wrote:
> Cleanup this Sphinx warning:
>    read./include/media/v4l2-dev.h:42: warning: Enum value 'VFL_TYPE_MAX' not described in enum 'vfl_devnode_type'

Posted patch for this already, part of an upcoming pull request from me:

https://patchwork.linuxtv.org/patch/49189/

Regards,

	Hans

> 
> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
> ---
>  include/media/v4l2-dev.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/media/v4l2-dev.h b/include/media/v4l2-dev.h
> index f60cf9cf3b9c..9e73d7e2cee0 100644
> --- a/include/media/v4l2-dev.h
> +++ b/include/media/v4l2-dev.h
> @@ -30,6 +30,8 @@
>   * @VFL_TYPE_SUBDEV:	for V4L2 subdevices
>   * @VFL_TYPE_SDR:	for Software Defined Radio tuners
>   * @VFL_TYPE_TOUCH:	for touch sensors
> + *
> + * @VFL_TYPE_MAX:	number of elements of &enum vfl_devnode_type
>   */
>  enum vfl_devnode_type {
>  	VFL_TYPE_GRABBER	= 0,
> 

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

end of thread, other threads:[~2018-05-07  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07  9:22 [PATCH] media: v4l2-dev.h: document VFL_TYPE_MAX Mauro Carvalho Chehab
2018-05-07  9:25 ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).