summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWeihang Li <liweihang@huawei.com>2021-06-21 11:00:35 +0300
committerJason Gunthorpe <jgg@nvidia.com>2021-06-21 21:03:40 +0300
commit78c1da52704853bcc57399ca76b5b6e9e08ca627 (patch)
tree3b36c4bcfbc45902b1d64b6294927bf5584848cb /tools/perf/scripts/python/mem-phys-addr.py
parent1477d44ce47d6cf3b2bab1afbca573b4f677666c (diff)
downloadlinux-78c1da52704853bcc57399ca76b5b6e9e08ca627.tar.xz
RDMA/hns: Do not use !! for values that are already bool when calling hr_reg_write()
There is no need to use "!!" before "eq->eqe_size == HNS_ROCE_V3_EQE_SIZE", or sparse will complain about "dubious: x & !y". Fixes: 782832f25404 ("RDMA/hns: Simplify the function config_eqc()") Link: https://lore.kernel.org/r/1624262443-24528-2-git-send-email-liweihang@huawei.com Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions