Re: [PATCH] 2.5.39 list_head debugging

From: Zach Brown (zab@zabbo.net)
Date: Sun Sep 29 2002 - 15:22:32 EST


> Two points (both related to return type).
> 1, why is it needed ? none of the macros seems to check it.
> 2, will this work for the #define __list_valid(args...) case ?

its to appease its use with the , operator in the for(;;).. I vaguely
rememebered there being some rule that the types of all the expressions
have to be the same.. though it certainly works without the return. are
there any language ninjas around who can call me insane?

I can certainly remove it if it makes people sad.

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



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:42 EST