Re: [patch] nfc: NULL vs zero in nci_activate_target()

From
Samuel Ortiz <hidden>
Date
2012-01-26 20:23:47
Also in
kernel-janitors, netdev
Hi Dan,

On Thu, Jan 26, 2012 at 09:13:31AM +0300, Dan Carpenter wrote:
This is a pointer so it should be NULL instead of zero.  Sparse
complains about this stuff:
net/nfc/nci/core.c:447:37: warning: Using plain integer as NULL pointer

Signed-off-by: Dan Carpenter <redacted>
Acked-by: Samuel Ortiz <redacted>

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
Thread (1 message) 1 message, 1 author, last reply 2012-01-26
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help