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

From: Herbert Xu
Date: Thu Jul 08 2004 - 08:57:53 EST


On Thu, Jul 08, 2004 at 03:10:11PM +0200, Andreas Schwab wrote:
>
> There is one place where even prototypes won't help, which is varargs
> functions like execl. But I don't think the kernel uses functions with
> execl-like argument lists.

Actually printk is variadic. But gcc will provide warnings if it
sees a mismatch between the format and the arguments.
--
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/