diff options
| author | Vegard Nossum <[email protected]> | 2010-01-08 22:42:35 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-01-11 17:34:04 +0000 |
| commit | e992cd9b72a18122bd5c958715623057f110793f (patch) | |
| tree | f73e19fd0af4cf446ab718550acac62d021e47ee /lib/dma-debug.c | |
| parent | docs: large update to ioctl-number.txt (diff) | |
| download | kernel-e992cd9b72a18122bd5c958715623057f110793f.tar.gz kernel-e992cd9b72a18122bd5c958715623057f110793f.zip | |
kmemcheck: make bitfield annotations truly no-ops when disabled
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 <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
Acked-by: Pekka Enberg <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
