summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-05-31 10:21:01 +0100
committerJason Gunthorpe <jgg@mellanox.com>2019-06-07 14:56:26 -0300
commitfa027328a1c93d72031e6cc6b4a7eee967fd7406 (patch)
tree522920f26e57e5944a7c861e7ba006ff5962d8f2 /samples
parentbcef5b7215681250c4bf8961dfe15e9e4fef97d0 (diff)
downloadtalos-op-linux-fa027328a1c93d72031e6cc6b4a7eee967fd7406.tar.gz
talos-op-linux-fa027328a1c93d72031e6cc6b4a7eee967fd7406.zip
RDMA/hns: fix inverted logic of readl read and shift
A previous change incorrectly changed the inverted logic and logically negated the readl rather than the shifted readl result. Fix this by adding in missing parentheses around the expression that needs to be logically negated. Addresses-Coverity: ("Logically dead code") Fixes: 669cefb654cb ("RDMA/hns: Remove jiffies operation in disable interrupt context") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud