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

From: H. Peter Anvin
Date: Sun Jul 11 2004 - 15:10:07 EST


Followup to: <Pine.GSO.4.58.0407102126150.10242@xxxxxxxxxxxxxxxxxxxx>
By author: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
In newsgroup: linux.dev.kernel
>
> - `return f();' in a function returning void (where f() returns void as well)
>

Considering this one a bug is daft in the extreme.

Why? Because "return f();" is the only kind of tailcall syntax C has,
and requiring that "void" functions use a different syntax is just
stupid.

Now, if the return types don't match then that's another issue.

-hpa
-
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/