]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nfc: NULL vs zero in nci_activate_target()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 26 Jan 2012 06:13:31 +0000 (09:13 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jan 2012 19:57:04 +0000 (14:57 -0500)
commit6269cc83e7c444f3050e0d7e640d079bae17aa68
tree001a379d04ab83bea3960b7e0d91e92679f37514
parentc4f3b9725ed476adbcaf1c49d882ab541bc4214c
nfc: NULL vs zero in nci_activate_target()

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 <dan.carpenter@oracle.com>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/nfc/nci/core.c