[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGG-pUSG0sngtW_F3j=Koa1KmjsLKE-2RU9Jy5Zm_=eUoe5rOg@mail.gmail.com>
Date: Fri, 15 Nov 2013 17:53:25 -0200
From: Geyslan Gregório Bem <geyslan@...il.com>
To: Oliver Neukum <oliver@...kum.org>, Ali Akcaagac <aliakc@....de>,
Jamie Lenehan <lenehan@...bble.org>,
"James E.J. Bottomley" <JBottomley@...allels.com>,
dc395x@...bble.org
Cc: LKML <linux-kernel@...r.kernel.org>, linux-scsi@...r.kernel.org,
hch@...radead.org
Subject: [RFC] drivers/scsi/dc395x.c - msgin_qtag()
Hi guys,
In the function msgin_qtag() [line 2632], this dereference was intentional?
static struct ScsiReqBlk *msgin_qtag(struct AdapterCtlBlk *acb,
struct DeviceCtlBlk *dcb, u8 tag)
{
struct ScsiReqBlk *srb = NULL;
struct ScsiReqBlk *i;
dprintkdbg(DBG_0, "msgin_qtag: (0x%p) tag=%i srb=%p\n",
srb->cmd, tag, srb);
...
There is a srb (NULL) dereference in the dprintkdbg() parameteres.
If not, what approach do you suggest me for a patch?
--
Regards,
Geyslan G. Bem
hackingbits.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists