diff options
author | Lin Ma <[email protected]> | 2022-11-28 08:39:03 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-12-06 07:14:47 +0000 |
commit | 3edfd14bb50fa6f94ed1a37bbb17d9f1c2793b57 (patch) | |
tree | 43bc5c4e282c8b421c67385db33d28cf4254efc2 | |
parent | e2fc6edd37ba487c64f4dd09f7118b3e45b12d88 (diff) |
media: dvbdev: fix build warning due to comments
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" <[email protected]>
Fixes: 0fc044b2b5e2 ("media: dvbdev: adopts refcnt to avoid UAF")
Signed-off-by: Lin Ma <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r-- | include/media/dvbdev.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/dvbdev.h b/include/media/dvbdev.h index fad9871157e2..29d25c8a6f13 100644 --- a/include/media/dvbdev.h +++ b/include/media/dvbdev.h @@ -130,6 +130,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. @@ -200,7 +201,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 */ |