But unless this patch is part of the main kernel, I must
remove the kassert() calls before submitting patches -
this defeats the main purpose of kassert().
>+#else
>+#define kassert(cond)
>+#endif
use
#define kassert(cond) do { } while(0)
otherwise DEBUG and release could generate different code.
(I currently don't see the problem, but everyone does this.)
-- Manfred- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/