]> git.baikalelectronics.ru Git - kernel.git/commit
[media] wl128x: fmdrv_tx: fix signedness bugs
authorXi Wang <xi.wang@gmail.com>
Fri, 2 Dec 2011 09:01:13 +0000 (06:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 30 Dec 2011 19:01:52 +0000 (17:01 -0200)
commit68baf8a25f05ef51dc30fc1c157fb946b7e1fb95
tree239fc368684a57f517d5b615ad323fc23658c80e
parenta0833c0d023781f0d6f391b4ce2044637ea5763e
[media] wl128x: fmdrv_tx: fix signedness bugs

Message-Id: <1322820073-19347-4-git-send-email-xi.wang@gmail.com>

The error handling with (ret < 0) didn't work where ret is a u32.
Use int instead.  To be consistent we also change the functions to
return an int.

Signed-off-by: Xi Wang <xi.wang@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/wl128x/fmdrv_tx.c
drivers/media/radio/wl128x/fmdrv_tx.h