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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to