summaryrefslogtreecommitdiffstats
path: root/samples/v4l
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2019-05-27 10:43:29 +0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-05-28 19:14:28 +0200
commit9bec226d8c79fcbc95817b082557f72a79d182f5 (patch)
tree50e4e03c705cd8b1a7c56ef18421c7e04633d28f /samples/v4l
parentmedia: usb:zr364xx:Fix KASAN:null-ptr-deref Read in zr364xx_vidioc_querycap (diff)
downloadlinux-9bec226d8c79fcbc95817b082557f72a79d182f5.tar.xz
linux-9bec226d8c79fcbc95817b082557f72a79d182f5.zip
media: v4l2-pci-skeleton.c: fix doc warning
Document the 'field' field to fix this warning: samples/v4l/v4l2-pci-skeleton.c:80: warning: Function parameter or member 'field' not described in 'skeleton' Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'samples/v4l')
-rw-r--r--samples/v4l/v4l2-pci-skeleton.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/v4l/v4l2-pci-skeleton.c b/samples/v4l/v4l2-pci-skeleton.c
index 758ced8c3d06..f6a551bd57ef 100644
--- a/samples/v4l/v4l2-pci-skeleton.c
+++ b/samples/v4l/v4l2-pci-skeleton.c
@@ -58,6 +58,7 @@ MODULE_LICENSE("GPL v2");
* @queue: vb2 video capture queue
* @qlock: spinlock controlling access to buf_list and sequence
* @buf_list: list of buffers queued for DMA
+ * @field: the field (TOP/BOTTOM/other) of the current buffer
* @sequence: frame sequence counter
*/
struct skeleton {