aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorSameeh Jubran <[email protected]>2019-05-01 16:47:06 +0300
committerDavid S. Miller <[email protected]>2019-05-04 00:14:46 -0400
commitd3cfe7ddbc3dfbb9b201615b7fef8fd66d1b5fe8 (patch)
treed64f582ed6fe5b9013d200103b492c3556a87835 /tools/perf/scripts/python/exported-sql-viewer.py
parentb287cdbd1cedfc9606682c6e02b58d00ff3a33ae (diff)
net: ena: fix incorrect test of supported hash function
ena_com_set_hash_function() tests if a hash function is supported by the device before setting it. The test returns the opposite result than needed. Reverse the condition to return the correct value. Also use the BIT macro instead of inline shift. Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)") Signed-off-by: Arthur Kiyanovski <[email protected]> Signed-off-by: Sameeh Jubran <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions