Re: [PATCH -next] RDMA/hns: Make some function static

From: Jason Gunthorpe
Date: Mon Feb 04 2019 - 17:34:24 EST


On Fri, Feb 01, 2019 at 11:11:04AM +0800, YueHaibing wrote:
> Fixes the following sparse warnings:
>
> drivers/infiniband/hw/hns/hns_roce_hw_v2.c:5822:5: warning:
> symbol 'hns_roce_v2_query_srq' was not declared. Should it be static?
> drivers/infiniband/hw/hns/hns_roce_srq.c:158:6: warning:
> symbol 'hns_roce_srq_free' was not declared. Should it be static?
> drivers/infiniband/hw/hns/hns_roce_srq.c:81:5: warning:
> symbol 'hns_roce_srq_alloc' was not declared. Should it be static?
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 +-
> drivers/infiniband/hw/hns/hns_roce_srq.c | 9 +++++----
> 2 files changed, 6 insertions(+), 5 deletions(-)

Applied to for-next

Thanks,
Jason