Messages in this thread | | | From | Herbert Xu <> | Subject | Re: [PATCH] Use NULL instead of integer 0 in security/selinux/ | Date | Thu, 08 Jul 2004 13:12:41 +1000 |
| |
Chris Wright <chrisw@osdl.org> wrote: > Fixup another round of sparse warnings of the type: > warning: Using plain integer as NULL pointer
What's wrong with using 0 as the NULL pointer? In contexts where a plain 0 is unsafe, NULL is usually unsafe as well.
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |