diff options
| author | Andy Shevchenko <[email protected]> | 2018-02-14 20:11:17 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-02-14 16:32:54 -0700 |
| commit | 71591d1280e5ef02c2af2ffb9801d0c842973be9 (patch) | |
| tree | 9f5077b30ab52481446ad78b3cf1882662d17eff /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 7061f28d8a2faf8131ac3a8ceb1af9850313e22c (diff) | |
RDMA/hns: Replace __raw_write*(cpu_to_le*()) with LE write*()
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 protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions