We're only building arm64 for this project, so don't do checks for other
architectures. Fixes a FTBFS when final-checks fails to find ABI files
for those archs.
Signed-off-by: dann frazier <email address hidden>
There is no need to repeat the semantics of writel() and similar.
Moreover sparse complains about this:
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1690:22: expected unsigned long long val
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1690:22: got restricted __le64 <noident>
Fixing this by replacing __raw_write*(cpu_to_le*()) calls by plain
write*() ones.
Note, write*() accessors are little endian by definition.
Reported-by: kbuild test robot <email address hidden>
Signed-off-by: Andy Shevchenko <email address hidden>
Signed-off-by: Jason Gunthorpe <email address hidden>
(cherry picked from commit 71591d1280e5ef02c2af2ffb9801d0c842973be9)
Signed-off-by: dann frazier <email address hidden>
When modifying mac address, it will trigger hns_roce_del_gid
function and can't delete the default gid matched the index
because the attribute of gid is null.
Signed-off-by: Lijun Ou <email address hidden>
Signed-off-by: Jason Gunthorpe <email address hidden>
(cherry picked from commit 173bc6be96c733ff7e6418eece9d64d03e7465b3)
Signed-off-by: dann frazier <email address hidden>