From: Vegard Nossum Date: Wed, 10 Sep 2008 13:15:23 +0000 (+0200) Subject: ieee1394: annotate bitfield X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=004cdb5a718fa2bb697c541eb1171ee817fc72f1;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ieee1394: annotate bitfield Signed-off-by: Vegard Nossum --- 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 @@ #include #include +#include #include #include #include @@ -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); }; @@ -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;