kmemcheck: introduce bitfield API
authorVegard Nossum <vegard.nossum@gmail.com>
Sat, 30 Aug 2008 10:16:05 +0000 (12:16 +0200)
committerVegard Nossum <vegard.nossum@gmail.com>
Mon, 15 Jun 2009 13:49:23 +0000 (15:49 +0200)
Add the bitfield API which can be used to annotate bitfields in structs
and get rid of false positive reports.

According to Al Viro, the syntax we were using (putting #ifdef inside
macro arguments) was not valid C. He also suggested using begin/end
markers instead, which is what we do now.

[rebased for mainline inclusion]
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>

No differences found