Messages in this thread | | | Date | Mon, 4 Feb 2019 15:34:20 -0700 | From | Jason Gunthorpe <> | Subject | Re: [PATCH -next] RDMA/hns: Make some function static |
| |
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@huawei.com> > --- > 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
| |