diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-04-28 02:13:48 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 08:58:27 -0700 |
commit | ed6b9b97f42c091630335bfb71a2931e6f86388b (patch) | |
tree | 1c003a652308955da0677f8d05b6ad110f5dee48 /arch | |
parent | 037f436f525dac36c9f5fd5c5054518a63debb3e (diff) | |
download | op-kernel-dev-ed6b9b97f42c091630335bfb71a2931e6f86388b.zip op-kernel-dev-ed6b9b97f42c091630335bfb71a2931e6f86388b.tar.gz |
alpha: teach the compiler that BUG doesn't return
Fix things like this:
security/selinux/netnode.c: In function 'sel_netnode_find':
security/selinux/netnode.c:126: warning: 'idx' may be used uninitialized in this function
security/selinux/netnode.c: In function 'sel_netnode_sid':
security/selinux/netnode.c:225: warning: 'ret' may be used uninitialized in this function
security/selinux/netnode.c:168: warning: 'idx' may be used uninitialized in this function
due to code correctly not expecting BUG() to return.
For some reason this reduces the object code size for that particular file.
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions