Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
004cdb5a
Commit
004cdb5a
authored
Sep 10, 2008
by
Vegard Nossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ieee1394: annotate bitfield
Signed-off-by:
Vegard Nossum
<
vegard.nossum@gmail.com
>
parent
45e3ff82
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drivers/ieee1394/nodemgr.c
drivers/ieee1394/nodemgr.c
+5
-0
No files found.
drivers/ieee1394/nodemgr.c
View file @
004cdb5a
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include <linux/bitmap.h>
#include <linux/bitmap.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/kmemcheck.h>
#include <linux/list.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/delay.h>
...
@@ -39,7 +40,10 @@ struct nodemgr_csr_info {
...
@@ -39,7 +40,10 @@ struct nodemgr_csr_info {
struct
hpsb_host
*
host
;
struct
hpsb_host
*
host
;
nodeid_t
nodeid
;
nodeid_t
nodeid
;
unsigned
int
generation
;
unsigned
int
generation
;
kmemcheck_bitfield_begin
(
flags
);
unsigned
int
speed_unverified
:
1
;
unsigned
int
speed_unverified
:
1
;
kmemcheck_bitfield_end
(
flags
);
};
};
...
@@ -1293,6 +1297,7 @@ static void nodemgr_node_scan_one(struct hpsb_host *host,
...
@@ -1293,6 +1297,7 @@ static void nodemgr_node_scan_one(struct hpsb_host *host,
u8
*
speed
;
u8
*
speed
;
ci
=
kmalloc
(
sizeof
(
*
ci
),
GFP_KERNEL
);
ci
=
kmalloc
(
sizeof
(
*
ci
),
GFP_KERNEL
);
kmemcheck_annotate_bitfield
(
ci
,
flags
);
if
(
!
ci
)
if
(
!
ci
)
return
;
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment