* [linuxtv-media:master 463/499] drivers/media/dvb-frontends/drx39xyj/drxj.c:20803 drx_ctrl_u_code() warn: variable dereferenced before check 'mc_info' (see line 20800)
@ 2014-03-05 8:46 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2014-03-05 8:46 UTC (permalink / raw)
To: kbuild, Mauro Carvalho Chehab; +Cc: Dan Carpenter, linux-media
Hi Mauro,
FYI, there are new smatch warnings show up in
tree: git://linuxtv.org/media_tree.git master
head: 59432be1c7fbf2a4f608850855ff649bee0f7b3b
commit: b240eacdd536bac23c9d48dfc3d527ed6870ddad [463/499] [media] drx-j: get rid of drx_driver.c
New smatch warnings:
drivers/media/dvb-frontends/drx39xyj/drxj.c:20803 drx_ctrl_u_code() warn: variable dereferenced before check 'mc_info' (see line 20800)
Old smatch warnings:
drivers/media/dvb-frontends/drx39xyj/drxj.c:1218 mult32() warn: missing break? reassigning '*h'
git remote add linuxtv-media git://linuxtv.org/media_tree.git
git remote update linuxtv-media
git checkout b240eacdd536bac23c9d48dfc3d527ed6870ddad
vim +/mc_info +20803 drivers/media/dvb-frontends/drx39xyj/drxj.c
b240eacd Mauro Carvalho Chehab 2014-01-24 20794 u16 i = 0;
b240eacd Mauro Carvalho Chehab 2014-01-24 20795 u16 mc_nr_of_blks = 0;
b240eacd Mauro Carvalho Chehab 2014-01-24 20796 u16 mc_magic_word = 0;
b240eacd Mauro Carvalho Chehab 2014-01-24 20797 const u8 *mc_data_init = NULL;
b240eacd Mauro Carvalho Chehab 2014-01-24 20798 u8 *mc_data = NULL;
b240eacd Mauro Carvalho Chehab 2014-01-24 20799 unsigned size;
b240eacd Mauro Carvalho Chehab 2014-01-24 @20800 char *mc_file = mc_info->mc_file;
b240eacd Mauro Carvalho Chehab 2014-01-24 20801
b240eacd Mauro Carvalho Chehab 2014-01-24 20802 /* Check arguments */
b240eacd Mauro Carvalho Chehab 2014-01-24 @20803 if (!mc_info || !mc_file)
b240eacd Mauro Carvalho Chehab 2014-01-24 20804 return -EINVAL;
b240eacd Mauro Carvalho Chehab 2014-01-24 20805
b240eacd Mauro Carvalho Chehab 2014-01-24 20806 if (!demod->firmware) {
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-05 8:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 8:46 [linuxtv-media:master 463/499] drivers/media/dvb-frontends/drx39xyj/drxj.c:20803 drx_ctrl_u_code() warn: variable dereferenced before check 'mc_info' (see line 20800) Dan Carpenter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.