linux/drivers/media/dvb-frontends/drx39xyj
Mauro Carvalho Chehab b1d0a59649 [media] drx-j: Don't use buffer if an error occurs
drivers/media/dvb-frontends/drx39xyj/drxj.c: In function ‘drxj_dap_scu_atomic_read_reg16’:
drivers/media/dvb-frontends/drx39xyj/drxj.c:4170:9: warning: ‘*((void *)&buf+1)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  word = (u16) (buf[0] + (buf[1] << 8));
         ^
drivers/media/dvb-frontends/drx39xyj/drxj.c:4170:9: warning: ‘buf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
drivers/media/dvb-frontends/drx39xyj/drxj.c: In function ‘drxj_dap_atomic_read_reg32.isra.59’:
drivers/media/dvb-frontends/drx39xyj/drxj.c:2186:7: warning: ‘*((void *)&buf+3)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  word = (u32) buf[3];
       ^
drivers/media/dvb-frontends/drx39xyj/drxj.c:2188:10: warning: ‘*((void *)&buf+2)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  word |= (u32) buf[2];
          ^
drivers/media/dvb-frontends/drx39xyj/drxj.c:2190:10: warning: ‘*((void *)&buf+1)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  word |= (u32) buf[1];
          ^
drivers/media/dvb-frontends/drx39xyj/drxj.c:2192:10: warning: ‘buf’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  word |= (u32) buf[0];
          ^

Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-03-04 14:26:21 -03:00
..
bsp_i2c.h [media] drx-j: Some minor CodingStyle fixes at headers 2014-03-04 14:25:08 -03:00
drx39xxj_dummy.c [media] drx-j: do more CodingStyle fixes 2014-03-04 14:24:32 -03:00
drx39xxj.c [media] drx-j: Get rid of typedefs on drxh.h 2014-03-04 14:25:58 -03:00
drx39xxj.h [media] drx-j: get rid of typedefs in drx_driver.h 2014-03-04 14:25:46 -03:00
drx_dap_fasi.c [media] drx-j: get rid of typedefs in drx_driver.h 2014-03-04 14:25:46 -03:00
drx_dap_fasi.h [media] drx-j: get rid of typedefs in drx_driver.h 2014-03-04 14:25:46 -03:00
drx_driver_version.h [media] drx-j: Don't use CamelCase 2014-03-04 14:24:17 -03:00
drx_driver.c [media] drx-j: a few more CodingStyle fixups 2014-03-04 14:26:08 -03:00
drx_driver.h [media] drx-j: get rid of typedefs in drx_driver.h 2014-03-04 14:25:46 -03:00
drxj_map.h [media] drx-j: Don't use CamelCase 2014-03-04 14:24:17 -03:00
drxj_mc_vsb.h [media] drx-j: do more CodingStyle fixes 2014-03-04 14:24:32 -03:00
drxj_mc_vsbqam.h [media] drx-j: do more CodingStyle fixes 2014-03-04 14:24:32 -03:00
drxj_mc.h [media] drx-j: do more CodingStyle fixes 2014-03-04 14:24:32 -03:00
drxj_options.h [media] drx-j: CodingStyle fixes 2014-03-04 14:20:30 -03:00
drxj.c [media] drx-j: Don't use buffer if an error occurs 2014-03-04 14:26:21 -03:00
drxj.h [media] drx-j: Get rid of typedefs on drxh.h 2014-03-04 14:25:58 -03:00
Kconfig [media] drx-j: Fix compilation and un-comment it 2014-03-04 14:21:00 -03:00
Makefile [media] drx-j: Fix compilation and un-comment it 2014-03-04 14:21:00 -03:00