diff options
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-04-29 15:00:30 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-01 06:10:38 -0300 |
commit | 6948524d577dcad963bcdfcbf6e7d934cd18b8f7 (patch) | |
tree | 0a23feecb67b2acee4027ce8cbc46711976ee158 /drivers/media/usb/gspca/sonixj.c | |
parent | 269d91f53fe34b263c0b7735937f3b4ac5f56580 (diff) | |
download | lwn-6948524d577dcad963bcdfcbf6e7d934cd18b8f7.tar.gz lwn-6948524d577dcad963bcdfcbf6e7d934cd18b8f7.zip |
[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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/gspca/sonixj.c')
0 files changed, 0 insertions, 0 deletions