rdma/cxgb4: Fix SRQ endianness annotations

This patch avoids that sparse complains about casts to restricted __be32.

Fixes: a3cdaa69e4 ("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>
这个提交包含在:
Bart Van Assche
2018-07-31 08:25:41 -07:00
提交者 Jason Gunthorpe
父节点 7810e09bfb
当前提交 eb2463bab4
修改 2 个文件,包含 4 行新增3 行删除

查看文件

@@ -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;