Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151470
b: refs/heads/master
c: 004cdb5
h: refs/heads/master
v: v3
  • Loading branch information
Vegard Nossum committed Jun 15, 2009
1 parent fe969bf commit 87403af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45e3ff82708c65c895d5c5882aff17ecf62a80b5
refs/heads/master: 004cdb5a718fa2bb697c541eb1171ee817fc72f1
5 changes: 5 additions & 0 deletions trunk/drivers/ieee1394/nodemgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include <linux/bitmap.h>
#include <linux/kernel.h>
#include <linux/kmemcheck.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/delay.h>
Expand Down Expand Up @@ -39,7 +40,10 @@ struct nodemgr_csr_info {
struct hpsb_host *host;
nodeid_t nodeid;
unsigned int generation;

kmemcheck_bitfield_begin(flags);
unsigned int speed_unverified:1;
kmemcheck_bitfield_end(flags);
};


Expand Down Expand Up @@ -1293,6 +1297,7 @@ static void nodemgr_node_scan_one(struct hpsb_host *host,
u8 *speed;

ci = kmalloc(sizeof(*ci), GFP_KERNEL);
kmemcheck_annotate_bitfield(ci, flags);
if (!ci)
return;

Expand Down

0 comments on commit 87403af

Please sign in to comment.