re: pktcdvd: add struct pktcdvd_device.name to pr_err logging where possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Joe Perches,

This is a semi-automatic email about new static checker warnings.

The patch b5a0e979a657: "pktcdvd: add struct pktcdvd_device.name to 
pr_err logging where possible" from Aug 1, 2013, leads to the 
following Smatch complaint:

drivers/block/pktcdvd.c:2363 pkt_make_request()
	 error: we previously assumed 'pd' could be null (see line 2362)

drivers/block/pktcdvd.c
  2361		pd = q->queuedata;
  2362		if (!pd) {
                    ^^^
Old check.
  2363			pkt_err(pd, "%s incorrect request queue\n",
                                ^^^
New dereference.
  2364				bdevname(bio->bi_bdev, b));
  2365			goto end_io;

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux