aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-09-14 16:39:53 +0000
committerDavid S. Miller <[email protected]>2018-09-17 14:55:19 +0000
commita7f38002fb69b44f8fc622ecb838665d0b8666af (patch)
tree268980605e8b77fcc841c6797bf7c3af49e7a7f3 /tools/perf/scripts/python/export-to-sqlite.py
parentARM: dts: at91: add new compatibility string for macb on sama5d3 (diff)
downloadkernel-a7f38002fb69b44f8fc622ecb838665d0b8666af.tar.gz
kernel-a7f38002fb69b44f8fc622ecb838665d0b8666af.zip
net: hp100: fix always-true check for link up state
The operation ~(p100_inb(VG_LAN_CFG_1) & HP100_LINK_UP) returns a value that is always non-zero and hence the wait for the link to drop always terminates prematurely. Fix this by using a logical not operator instead of a bitwise complement. This issue has been in the driver since pre-2.6.12-rc2. Detected by CoverityScan, CID#114157 ("Logical vs. bitwise operator") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions