aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2012-03-10 04:58:18 -0300
committerMauro Carvalho Chehab <[email protected]>2012-03-19 15:45:01 -0300
commit955b44304afca143b82304fe421e990ec607834a (patch)
treef0046ed726b7c677d6d70d256c816573cb503932 /scripts/objdiff
parent23bfb5be9f4c14937d70ed09f24a19d86df1951b (diff)
[media] gpio-ir-recv: a couple signedness bugs
There are couple places where we check unsigned values for negative. I changed ->gpin_nr to signed because in gpio_ir_recv_probe() we do: if (pdata->gpio_nr < 0) return -EINVAL; I also change gval to a signed int in gpio_ir_recv_irq() because that's the type that gpio_get_value_cansleep() returns and we test for negative returns. Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Trilok Soni <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions