Skip to content
Snippets Groups Projects
Commit 19cb33fa authored by Nikita Zhandarovich's avatar Nikita Zhandarovich Committed by Sasha Levin
Browse files

media: em28xx: annotate unchecked call to media_device_register()


[ Upstream commit fd61d77a ]

Static analyzers generate alerts for an unchecked call to
`media_device_register()`. However, in this case, the device will work
reliably without the media controller API.

Add a comment above the call to prevent future unnecessary changes.

Suggested-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
Fixes: 37ecc7b1 ("[media] em28xx: add media controller support")
Signed-off-by: default avatarNikita Zhandarovich <n.zhandarovich@fintech.ru>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 892d955f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment