public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* re: VMCI: queue pairs implementation.
@ 2013-01-10 19:32 Dan Carpenter
  2013-01-10 19:36 ` George Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dan Carpenter @ 2013-01-10 19:32 UTC (permalink / raw)
  To: kernel-janitors

Hello George Zhang,

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

The patch 06164d2b72aa: "VMCI: queue pairs implementation." from Jan
8, 2013, leads to the following Smatch complaint:

drivers/misc/vmw_vmci/vmci_queue_pair.c:3356 vmci_qpair_dequev()
	 warn: variable dereferenced before check 'qpair' (see line 3354)

drivers/misc/vmw_vmci/vmci_queue_pair.c
  3353	
  3354		qp_lock(qpair);
                        ^^^^^^
dereference.

  3355	
  3356		if (!qpair || !iov)
                     ^^^^^
test.

  3357			return VMCI_ERROR_INVALID_ARGS;
  3358	

regards,
dan carpenter

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-30 11:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 19:32 VMCI: queue pairs implementation Dan Carpenter
2013-01-10 19:36 ` George Zhang
2014-01-30 11:51 ` Dan Carpenter
2014-01-30 11:52 ` Dan Carpenter

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