commit | fc7d0c9f2122e8bf58deaf1252b0e750df5b0e91 | [log] [tgz] |
---|---|---|
author | Vegard Nossum <vegard.nossum@gmail.com> | Sat Aug 30 12:16:05 2008 +0200 |
committer | Vegard Nossum <vegard.nossum@gmail.com> | Mon Jun 15 15:49:23 2009 +0200 |
tree | 9279ca21566062038582682e59accccfa904054d | |
parent | ac61a7579625ddfca3b2e0aa298879a94d15884d [diff] |
kmemcheck: introduce bitfield API 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>