public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* re: pktcdvd: add struct pktcdvd_device.name to pr_err logging where possible
@ 2013-08-01 15:44 Dan Carpenter
  0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2013-08-01 15:44 UTC (permalink / raw)
  To: kernel-janitors

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-01 15:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-01 15:44 pktcdvd: add struct pktcdvd_device.name to pr_err logging where possible Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox