linux/drivers/infiniband/hw/hns
Andy Shevchenko 71591d1280 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 <fengguang.wu@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-02-14 16:32:54 -07:00
..
hns_roce_ah.c Merge branch 'for-next-early' into for-next 2017-10-18 13:07:13 -04:00
hns_roce_alloc.c RDMA/hns: Get rid of virt_to_page and vmap calls after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
hns_roce_cmd.c RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00
hns_roce_cmd.h RDMA/hns: Add eq support of hip08 2017-12-22 09:21:45 -07:00
hns_roce_common.h RDMA/hns: Fix the endian problem for hns 2018-02-05 10:48:48 -05:00
hns_roce_cq.c RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00
hns_roce_device.h RDMA/hns: Fix the endian problem for hns 2018-02-05 10:48:48 -05:00
hns_roce_hem.c RDMA/hns: Get rid of page operation after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
hns_roce_hem.h RDMA/hns: Get rid of page operation after dma_alloc_coherent 2017-12-01 12:21:27 -07:00
hns_roce_hw_v1.c RDMA/hns: Replace __raw_write*(cpu_to_le*()) with LE write*() 2018-02-14 16:32:54 -07:00
hns_roce_hw_v1.h RDMA/hns: Fix the endian problem for hns 2018-02-05 10:48:48 -05:00
hns_roce_hw_v2.c RDMA/hns: Replace __raw_write*(cpu_to_le*()) with LE write*() 2018-02-14 16:32:54 -07:00
hns_roce_hw_v2.h RDMA/hns: Fix the endian problem for hns 2018-02-05 10:48:48 -05:00
hns_roce_main.c RDMA/hns: Fix a bug with modifying mac address 2018-02-14 16:30:12 -07:00
hns_roce_mr.c RDMA/hns: Use free_pages function instead of free_page 2018-02-14 16:30:12 -07:00
hns_roce_pd.c RDMA/hns: Configure mac&gid and user access region for hip08 RoCE driver 2017-09-27 08:34:56 -04:00
hns_roce_qp.c RDMA/hns: Fix the endian problem for hns 2018-02-05 10:48:48 -05:00
Kconfig RDMA/hns: Initialize the PCI device for hip08 RoCE 2017-09-27 08:34:55 -04:00
Makefile RDMA/hns: Refactor eq code for hip06 2017-12-22 09:21:38 -07:00