]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] kbuild: add -Wundef to global CFLAGS
authorOlaf Hering <olh@suse.de>
Thu, 21 Jul 2005 19:02:09 +0000 (21:02 +0200)
committerSam Ravnborg <sam@mars.(none)>
Thu, 21 Jul 2005 21:45:47 +0000 (21:45 +0000)
commit3c521e06fad4b4b7fe4811fb8363d12cf49f40a2
tree5904f3b98801b2c86f15abea327e4a9c5dbeffee
parentce454d4d7278b815dcee957653ce388146484f5f
[PATCH] kbuild: add -Wundef to global CFLAGS

A recent change to the aic scsi driver removed two defines to detect
endianness. cpp handles undefined strings as 0. As a result, the test turned
into #if 0 == 0 and the wrong code was selected.
Adding -Wundef to global CFLAGS will catch such errors.

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile