Skip to content
Commit 6948524d authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] redrat3: change return argument on redrat3_send_cmd() to int



redrat3_send_cmd() can return an error or the read data. However,
it currently returns an u8, as reported by smatch:
	drivers/media/rc/redrat3.c:416 redrat3_send_cmd() warn: signedness bug returning '(-12)'

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 269d91f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment