Re: [PATCH] Use NULL instead of integer 0 in security/selinux/

From: Herbert Xu
Date: Wed Jul 07 2004 - 22:14:35 EST


Chris Wright <chrisw@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/