commit | 3c521e06fad4b4b7fe4811fb8363d12cf49f40a2 | [log] [tgz] |
---|---|---|
author | Olaf Hering <olh@suse.de> | Thu Jul 21 21:02:09 2005 +0200 |
committer | Sam Ravnborg <sam@mars.(none)> | Thu Jul 21 21:45:47 2005 +0000 |
tree | 5904f3b98801b2c86f15abea327e4a9c5dbeffee | |
parent | ce454d4d7278b815dcee957653ce388146484f5f [diff] |
[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>