]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] wl128x: fix int type for streg_cbdata
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Apr 2015 15:32:25 +0000 (12:32 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 30 Apr 2015 16:40:05 +0000 (13:40 -0300)
commitd202e1bab3c3b61dd562360e5c73e9df7d2cfe09
tree4044b0a034e969ca5a98c04d1cc6593abe912d25
parentabefe12a2f3b1cd701158d6bd6a826e057dec2b4
[media] wl128x: fix int type for streg_cbdata

The streg_cbdata can have a negative error value. So, it should be
an integer, and not u8, as reported by smatch:
drivers/media/radio/wl128x/fmdrv_common.c:1517 fmc_prepare() warn: assigning (-115) to unsigned variable 'fmdev->streg_cbdata'

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/radio/wl128x/fmdrv.h