# Re: \[patch\] nfc: NULL vs zero in nci\_activate\_target()

- From: Samuel Ortiz \<hidden\>
- Date: 2012-01-26 20:23:47 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2012/01/10887306
- Thread: https://ratatoskr.run/kernel-janitors/2012/01/10887306/t.md

```text
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/
```
