]> git.baikalelectronics.ru Git - kernel.git/commit
iw_cxgb4: 32b platform fixes
authorHariprasad S <hariprasad@chelsio.com>
Tue, 21 Apr 2015 20:14:59 +0000 (01:44 +0530)
committerDoug Ledford <dledford@redhat.com>
Tue, 5 May 2015 13:18:01 +0000 (09:18 -0400)
commitee02f867edc2ae3152f673c2d341ae156646d1c6
treec87551d355a9affce301b13c346f52807a472270
parenta9bee27a28e1934d0f1142f4fa07f8a7cb32f2c0
iw_cxgb4: 32b platform fixes

- get_dma_mr() was using ~0UL which is should be ~0ULL.  This causes the
DMA MR to get setup incorrectly in hardware.

- wr_log_show() needed a 64b divide function div64_u64() instead of
  doing
division directly.

- fixed warnings about recasting a pointer to a u64

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/cxgb4/cq.c
drivers/infiniband/hw/cxgb4/device.c
drivers/infiniband/hw/cxgb4/mem.c
drivers/infiniband/hw/cxgb4/qp.c