summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/cxgb4
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2019-02-18 08:04:32 +0100
committerJason Gunthorpe <jgg@mellanox.com>2019-02-20 04:52:19 +0100
commit3b8f8b95d9d3c73637bd33a644952a7cfa8e2c2a (patch)
tree5b595d8261b3edfb84d2f2d361dc84097c37683d /drivers/infiniband/hw/cxgb4
parentRDMA/hns: Bugfix for set hem of SCC (diff)
downloadlinux-3b8f8b95d9d3c73637bd33a644952a7cfa8e2c2a.tar.xz
linux-3b8f8b95d9d3c73637bd33a644952a7cfa8e2c2a.zip
iw_cxgb4: Make function read_tcb() static
Fixes the following sparse warning: drivers/infiniband/hw/cxgb4/cm.c:658:6: warning: symbol 'read_tcb' was not declared. Should it be static? Fixes: 11a27e2121a5 ("iw_cxgb4: complete the cached SRQ buffers") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Acked-by: Raju Rangoju <rajur@chelsio.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4')
-rw-r--r--drivers/infiniband/hw/cxgb4/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c
index ae90b2932bd2..4d232bdf9e97 100644
--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -655,7 +655,7 @@ static int send_halfclose(struct c4iw_ep *ep)
return c4iw_l2t_send(&ep->com.dev->rdev, skb, ep->l2t);
}
-void read_tcb(struct c4iw_ep *ep)
+static void read_tcb(struct c4iw_ep *ep)
{
struct sk_buff *skb;
struct cpl_get_tcb *req;