summaryrefslogtreecommitdiff
path: root/lib/reed_solomon
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@gmail.com>2010-01-08 14:42:35 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-01-11 09:34:04 -0800
commite992cd9b72a18122bd5c958715623057f110793f (patch)
treef73e19fd0af4cf446ab718550acac62d021e47ee /lib/reed_solomon
parentcb5a8b2c92febbed57126e1b8416dfd7607ff03d (diff)
downloadlwn-e992cd9b72a18122bd5c958715623057f110793f.tar.gz
lwn-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 <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>
Diffstat (limited to 'lib/reed_solomon')
0 files changed, 0 insertions, 0 deletions