diff options
| author | Mitch Williams <[email protected]> | 2014-02-13 03:48:52 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-02-13 17:27:30 -0500 |
| commit | e8106ebe2feb29b2790ba4ad4494b8f6a31126cc (patch) | |
| tree | 43827a620312f95c68425a0757b1b75506457805 /tools/perf/scripts/python/syscall-counts.py | |
| parent | e1dfee8e64c2b30e123080e87c5528fae94f5440 (diff) | |
i40evf: change type of flags variable
As pointed out by Dan Carpenter (from Oracle), the flags variable is
declared as a 64-bit long but all of the flags are defined as u32,
which may lead to unintended consequences. Fix this by declaring flags
as u32 (since we don't need any more than about a dozen flags right
now), and remove the volatile qualifier, since it's unnecessary and
just makes checkpatch cry.
Change-ID: I137d3bb1842bf7e9456b5929ca54e3b0ed45dcab
Signed-off-by: Mitch Williams <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
CC: Dan Carpenter <[email protected]>
Tested-by: Sibai Li <[email protected]>
Signed-off-by: Aaron Brown <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions