diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2008-09-10 09:15:23 -0400 |
---|---|---|
committer | Vegard Nossum <vegard.nossum@gmail.com> | 2009-06-15 09:49:29 -0400 |
commit | 004cdb5a718fa2bb697c541eb1171ee817fc72f1 (patch) | |
tree | d3ceaf1bc48d1978f9c51e46b29a44273c274126 /drivers/ieee1394 | |
parent | 45e3ff82708c65c895d5c5882aff17ecf62a80b5 (diff) |
ieee1394: annotate bitfield
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'drivers/ieee1394')
-rw-r--r-- | drivers/ieee1394/nodemgr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index a6d55bebe61a..5122b5a8aa2d 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c | |||
@@ -10,6 +10,7 @@ | |||
10 | 10 | ||
11 | #include <linux/bitmap.h> | 11 | #include <linux/bitmap.h> |
12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
13 | #include <linux/kmemcheck.h> | ||
13 | #include <linux/list.h> | 14 | #include <linux/list.h> |
14 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
15 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
@@ -39,7 +40,10 @@ struct nodemgr_csr_info { | |||
39 | struct hpsb_host *host; | 40 | struct hpsb_host *host; |
40 | nodeid_t nodeid; | 41 | nodeid_t nodeid; |
41 | unsigned int generation; | 42 | unsigned int generation; |
43 | |||
44 | kmemcheck_bitfield_begin(flags); | ||
42 | unsigned int speed_unverified:1; | 45 | unsigned int speed_unverified:1; |
46 | kmemcheck_bitfield_end(flags); | ||
43 | }; | 47 | }; |
44 | 48 | ||
45 | 49 | ||
@@ -1293,6 +1297,7 @@ static void nodemgr_node_scan_one(struct hpsb_host *host, | |||
1293 | u8 *speed; | 1297 | u8 *speed; |
1294 | 1298 | ||
1295 | ci = kmalloc(sizeof(*ci), GFP_KERNEL); | 1299 | ci = kmalloc(sizeof(*ci), GFP_KERNEL); |
1300 | kmemcheck_annotate_bitfield(ci, flags); | ||
1296 | if (!ci) | 1301 | if (!ci) |
1297 | return; | 1302 | return; |
1298 | 1303 | ||