[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <004001d20201$448119e0$cd834da0$@opengridcomputing.com>
Date: Mon, 29 Aug 2016 09:26:01 -0500
From: "Steve Wise" <swise@...ngridcomputing.com>
To: "'Baoyou Xie'" <baoyou.xie@...aro.org>, <dledford@...hat.com>,
<sean.hefty@...el.com>, <hal.rosenstock@...il.com>
Cc: <linux-rdma@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<arnd@...aro.org>, <xie.baoyou@....com.cn>
Subject: RE: [PATCH v3] IB/cxgb4: Mark symbols static for _free_qp
> 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 declared
> and don't need a declaration, but can be made static.
> so this patch marks it 'static'.
>
> Signed-off-by: Baoyou Xie <baoyou.xie@...aro.org>
> Reviewed-by: Yuval Shaia <yuval.shaia@...cle.com>
> Reviewed-by: Leon Romanovsky <leonro@...lanox.com>
Ignore my comment on v2...
Acked-by: Steve Wise <swise@...ngridcomputing.com>
Powered by blists - more mailing lists