diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-07-31 17:25:41 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-08-01 00:57:23 +0200 |
commit | eb2463bab4bce46b0482a0e7e74575771a32fcf0 (patch) | |
tree | c912f3f8625b5f8be0d4ebd0b049908e9754fc67 /drivers/infiniband/hw/cxgb4 | |
parent | rdma/cxgb4: Remove a set-but-not-used variable (diff) | |
download | linux-eb2463bab4bce46b0482a0e7e74575771a32fcf0.tar.xz linux-eb2463bab4bce46b0482a0e7e74575771a32fcf0.zip |
rdma/cxgb4: Fix SRQ endianness annotations
This patch avoids that sparse complains about casts to restricted __be32.
Fixes: a3cdaa69e4ae ("cxgb4: Adds CPL support for Shared Receive Queues")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/cm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index d7cfa38baad2..9e1463080c22 100644 --- a/drivers/infiniband/hw/cxgb4/cm.c +++ b/drivers/infiniband/hw/cxgb4/cm.c @@ -1853,7 +1853,8 @@ static int rx_data(struct c4iw_dev *dev, struct sk_buff *skb) return 0; } -static void complete_cached_srq_buffers(struct c4iw_ep *ep, u32 srqidx_status) +static void complete_cached_srq_buffers(struct c4iw_ep *ep, + __be32 srqidx_status) { enum chip_type adapter_type; u32 srqidx; |