git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5a8b2
)
kmemcheck: make bitfield annotations truly no-ops when disabled
author
Vegard Nossum
<vegard.nossum@gmail.com>
Fri, 8 Jan 2010 22:42:35 +0000
(14:42 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 11 Jan 2010 17:34:04 +0000
(09:34 -0800)
It turns out that even zero-sized struct members (int foo[0];) will affect
the struct layout, causing us in particular to lose 4 bytes in struct
sock.
This patch fixes the regression in CONFIG_KMEMCHECK=n case.
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kmemcheck.h
patch
|
blob
|
history
diff --cc
include/linux/kmemcheck.h
Simple merge