Re: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp

2016-09-02 Thread Doug Ledford
On 8/29/2016 10:26 AM, Steve Wise wrote: >> Subject: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp >> >> We get 1 warning when build kernel with W=1: >> drivers/infiniband/hw/cxgb4/qp.c:686:6: warning: no previous prototype for >> '_free_qp' [-Wmissing-prototypes] >> >> In fact, this

Re: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp

2016-09-02 Thread Doug Ledford
On 8/29/2016 10:26 AM, Steve Wise wrote: >> Subject: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp >> >> We get 1 warning when build kernel with W=1: >> drivers/infiniband/hw/cxgb4/qp.c:686:6: warning: no previous prototype for >> '_free_qp' [-Wmissing-prototypes] >> >> In fact, this

RE: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp

2016-08-29 Thread Steve Wise
> Subject: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp > > We get 1 warning when build kernel with W=1: > drivers/infiniband/hw/cxgb4/qp.c:686:6: warning: no previous prototype for > '_free_qp' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it is

RE: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp

2016-08-29 Thread Steve Wise
> Subject: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp > > We get 1 warning when build kernel with W=1: > drivers/infiniband/hw/cxgb4/qp.c:686:6: warning: no previous prototype for > '_free_qp' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it is