summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx18/cx18-fileops.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-01-15 07:32:19 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-16 12:38:00 -0200
commite9ae4d4f028cd9ff9e7d06430cc678d7926df9e0 (patch)
tree81830cbe62476f40f46cdbc06af1f1745a4d14c8 /drivers/media/video/cx18/cx18-fileops.h
parent0397e4505910b44be0066d1b2ce201f0c03bae4f (diff)
[media] tlg2300: fix up check_firmware() return
The caller doesn't check the return value of check_firmware() but static checkers complain. It currently returns negative error codes, or zero or greater on success but since the return type is boolean the values are truncated to one or zero. I've changed it to return an int, negative on error and zero on success. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-fileops.h')
0 files changed, 0 insertions, 0 deletions