diff options
| author | Joe Perches <[email protected]> | 2014-04-03 14:49:17 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-04-03 16:21:13 -0700 |
| commit | 447432f32328dcd081ae5e23f27d2ffa19f2ecf8 (patch) | |
| tree | e75c405d4ebb8fb2571ec6494143f203e12ba72f /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6c8bd7076d79687183126fa7ffaa700fc2007d81 (diff) | |
checkpatch: fix jiffies comparison and others
checkpatch could not distinguish between a variable in a struct named
jiffies and the normal jiffies.
foo->jiffies
would emit a "Comparing jiffies" arning.
Update the $Compare variable to do a negative look-behind for "-" when
finding a ">" so that a pointer dereference like -> isn't a comparison.
Signed-off-by: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions