summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLin Ma <linma@zju.edu.cn>2022-11-28 08:39:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-18 11:30:39 +0100
commit87c89b063ba6f03a1556415ada3d0ddfa044c999 (patch)
tree0c7c932cc437724b4858607a7f067f7c68f276c2 /include
parent4c7f057c6071666c2dd6171701bbfc8070d5d789 (diff)
downloadlinux-stable-87c89b063ba6f03a1556415ada3d0ddfa044c999.tar.gz
linux-stable-87c89b063ba6f03a1556415ada3d0ddfa044c999.tar.bz2
linux-stable-87c89b063ba6f03a1556415ada3d0ddfa044c999.zip
media: dvbdev: fix build warning due to comments
commit 3edfd14bb50fa6f94ed1a37bbb17d9f1c2793b57 upstream. Previous commit that introduces reference counter does not add proper comments, which will lead to warning when building htmldocs. Fix them. Reported-by: "Stephen Rothwell" <sfr@canb.auug.org.au> Fixes: 0fc044b2b5e2 ("media: dvbdev: adopts refcnt to avoid UAF") Signed-off-by: Lin Ma <linma@zju.edu.cn> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/media/dvbdev.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/dvbdev.h b/include/media/dvbdev.h
index 6a0d22c4c3d8..09279ed0051e 100644
--- a/include/media/dvbdev.h
+++ b/include/media/dvbdev.h
@@ -126,6 +126,7 @@ struct dvb_adapter {
* struct dvb_device - represents a DVB device node
*
* @list_head: List head with all DVB devices
+ * @ref: reference counter
* @fops: pointer to struct file_operations
* @adapter: pointer to the adapter that holds this device node
* @type: type of the device, as defined by &enum dvb_device_type.
@@ -196,7 +197,7 @@ struct dvb_device {
struct dvb_device *dvb_device_get(struct dvb_device *dvbdev);
/**
- * dvb_device_get - Decrease dvb_device reference
+ * dvb_device_put - Decrease dvb_device reference
*
* @dvbdev: pointer to struct dvb_device
*/