aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2018-02-13 08:09:25 +1100
committerGreg Kroah-Hartman <[email protected]>2018-02-16 15:13:32 +0100
commit2cd466feccabd4f179971be11b1bcadaaed0cfb7 (patch)
tree6649a20ba474b9a2b45b5c68d3e91e7d0940b777 /tools/perf/scripts/python/netdev-times.py
parent1b168a467f5efc1ea038e2ed141b01881088d455 (diff)
staging: lustre: fix inverted test on strcmp
This code tests various fields to see if they are different, except for one where there test is if they are the same. This is clearly wrong for a function that is tesding for equality. So change "!strcmp()" which I always find hard to read, to "strcmp() != 0" which obviously means that the strings are not equal. Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions