summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/it8712f_wdt.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-10-06 11:21:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-10-06 11:21:02 -0300
commit20eb13a77ebcba4341095c453c33dacba44519f9 (patch)
treedec9585131db7306747fcdedfdfb0d36da559a83 /drivers/watchdog/it8712f_wdt.c
parent6f0fdc498e30ce34da559f43e359c4b517cb5b8b (diff)
[media] mt2063: properly handle return error codes
Fix a series of warnings when compiled with W=1: drivers/media/tuners/mt2063.c: In function 'mt2063_setreg': drivers/media/tuners/mt2063.c:290:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] ... drivers/media/tuners/mt2063.c:2013:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] drivers/media/tuners/mt2063.c:2271:14: warning: no previous prototype for 'tuner_MT2063_SoftwareShutdown' [-Wmissing-prototypes] drivers/media/tuners/mt2063.c:2286:14: warning: no previous prototype for 'tuner_MT2063_ClearPowerMaskBits' [-Wmissing-prototypes] Several of those warnings are real bugs: the error status code used to be unsigned, but they're assigned to negative error codes. Fix it by using unsigned int. While here, comment the two power management functions, while we don't add a code there to properly handle tuner suspend/resume. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/watchdog/it8712f_wdt.c')
0 files changed, 0 insertions, 0 deletions