Re: [-mm PATCH] drivers/char/speakup/synthlist.h - Fix warnings with -Wundef
From: Alexey Dobriyan
Date: Wed Aug 24 2005 - 00:32:02 EST
On Tue, Aug 23, 2005 at 04:00:35PM -0400, Nick Sillik wrote:
> This patch fixes (it should) the following warnings generated with -Wundef
> in the file drivers/char/speakup/synthlist.h
>
> drivers/char/speakup/synthlist.h:13:35: warning: "CONFIG_SPEAKUP_ACNTPC" is
> not defined
> --- linux-2.6.13-rc6-mm2/drivers/char/speakup/synthlist.h
> +++ linux-2.6.13-rc6-mm2-patched/drivers/char/speakup/synthlist.h
> -#define CFG_TEST(name) (name)
> +#define CFG_TEST(name) defined(name)
No. Just remove this obfuscating macro.
> #endif
>
> #if CFG_TEST(CONFIG_SPEAKUP_ACNTPC)
^^^^^^^^^^^^
Yuck.
-
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/