[media] lgdt3306a: one bit fields should be unsigned
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 28 Oct 2014 13:02:13 +0000 (11:02 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 3 Mar 2015 13:34:12 +0000 (10:34 -0300)
Fix two smatch warnings:
drivers/media/dvb-frontends/lgdt3306a.h:53:28: error: dubious one-bit signed bitfield
drivers/media/dvb-frontends/lgdt3306a.h:56:33: error: dubious one-bit signed bitfield

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/lgdt3306a.h

index 9e848b1e506efac232ac427adec85f764916fed6..6a3703669ed19d3217c769fe69d28e588bd31672 100644 (file)
@@ -50,10 +50,10 @@ struct lgdt3306a_config {
        u16 vsb_if_khz;
 
        /* disable i2c repeater - 0:repeater enabled 1:repeater disabled */
-       int deny_i2c_rptr:1;
+       unsigned int deny_i2c_rptr:1;
 
        /* spectral inversion - 0:disabled 1:enabled */
-       int spectral_inversion:1;
+       unsigned int spectral_inversion:1;
 
        enum lgdt3306a_mpeg_mode mpeg_mode;
        enum lgdt3306a_tp_clock_edge tpclk_edge;