Staging
v0.5.1
https://github.com/torvalds/linux
Revision c215a16a4ad620b612b51495cbb99dbbb59bb585 authored by Al Viro on 30 September 2005, 02:36:50 UTC, committed by Linus Torvalds on 30 September 2005, 15:42:24 UTC
BUILD_BUG_ON(1) is asking for trouble (and getting it) when used in that
manner - dead code elimination happens after we parse it and invalid
type is invalid type, dead code or not.

It might be version-dependent, but at least 4.0.1 refuses to accept
that.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 4735885
History
Tip revision: c215a16a4ad620b612b51495cbb99dbbb59bb585 authored by Al Viro on 30 September 2005, 02:36:50 UTC
[PATCH] bogus BUILD_BUG_ON() in bpa_iommu
Tip revision: c215a16
File Mode Size
Documentation
arch
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.1 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 59.3 KB
Makefile -rw-r--r-- 42.4 KB
README -rw-r--r-- 14.4 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top