* [linuxtv-media:master 467/499] drivers/media/dvb-frontends/drx39xyj/drxj.c:20041 drxj_close() warn: variable dereferenced before check 'demod' (see line 20036)
@ 2014-03-05 9:29 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2014-03-05 9:29 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: b78359a6894ac3451bec3fde5d0499fba87b8b67 [467/499] [media] drx-j: get rid of the remaining drx generic functions
New smatch warnings:
drivers/media/dvb-frontends/drx39xyj/drxj.c:20041 drxj_close() warn: variable dereferenced before check 'demod' (see line 20036)
Old smatch warnings:
drivers/media/dvb-frontends/drx39xyj/drxj.c:1145 mult32() warn: missing break? reassigning '*h'
drivers/media/dvb-frontends/drx39xyj/drxj.c:20435 drx_ctrl_u_code() warn: variable dereferenced before check 'mc_info' (see line 20432)
git remote add linuxtv-media git://linuxtv.org/media_tree.git
git remote update linuxtv-media
git checkout b78359a6894ac3451bec3fde5d0499fba87b8b67
vim +/demod +20041 drivers/media/dvb-frontends/drx39xyj/drxj.c
38b2df95 Devin Heitmueller 2012-08-13 20030 * \brief Close the demod instance, power down the device
38b2df95 Devin Heitmueller 2012-08-13 20031 * \return Status_t Return status.
38b2df95 Devin Heitmueller 2012-08-13 20032 *
38b2df95 Devin Heitmueller 2012-08-13 20033 */
1bfc9e15 Mauro Carvalho Chehab 2014-01-16 20034 int drxj_close(struct drx_demod_instance *demod)
38b2df95 Devin Heitmueller 2012-08-13 20035 {
4d7bb0eb Mauro Carvalho Chehab 2014-01-16 @20036 struct i2c_device_addr *dev_addr = demod->my_i2c_dev_addr;
1bfc9e15 Mauro Carvalho Chehab 2014-01-16 20037 struct drx_common_attr *common_attr = demod->my_common_attr;
068e94ea Mauro Carvalho Chehab 2014-01-16 20038 int rc;
1bfc9e15 Mauro Carvalho Chehab 2014-01-16 20039 enum drx_power_mode power_mode = DRX_POWER_UP;
38b2df95 Devin Heitmueller 2012-08-13 20040
b78359a6 Mauro Carvalho Chehab 2014-01-24 @20041 if ((demod == NULL) ||
b78359a6 Mauro Carvalho Chehab 2014-01-24 20042 (demod->my_common_attr == NULL) ||
b78359a6 Mauro Carvalho Chehab 2014-01-24 20043 (demod->my_ext_attr == NULL) ||
b78359a6 Mauro Carvalho Chehab 2014-01-24 20044 (demod->my_i2c_dev_addr == NULL) ||
---
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 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 9:29 [linuxtv-media:master 467/499] drivers/media/dvb-frontends/drx39xyj/drxj.c:20041 drxj_close() warn: variable dereferenced before check 'demod' (see line 20036) 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.