From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rashika Kheria Subject: [PATCH] drivers: infiniband: Mark function _c4iw_write_mem_dma() as static in mem.c Date: Sat, 14 Dec 2013 18:42:14 +0530 Message-ID: <20131214131214.GA8459@rashika> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Steve Wise , Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org List-Id: linux-rdma@vger.kernel.org This patch marks the function _c4iw_write_mem_dma() as static in hw/cxgb4/mem.c because it is not used outside this file. Thus, it also eliminates the following warning in hw/cxgb4/mem.c: drivers/infiniband/hw/cxgb4/mem.c:176:5: warning: no previous prototype= for =E2=80=98_c4iw_write_mem_dma=E2=80=99 [-Wmissing-prototypes] Signed-off-by: Rashika Kheria --- drivers/infiniband/hw/cxgb4/mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/cxgb4/mem.c b/drivers/infiniband/hw/= cxgb4/mem.c index 4cb8eb2..84e4500 100644 --- a/drivers/infiniband/hw/cxgb4/mem.c +++ b/drivers/infiniband/hw/cxgb4/mem.c @@ -173,7 +173,7 @@ static int _c4iw_write_mem_inline(struct c4iw_rdev = *rdev, u32 addr, u32 len, return ret; } =20 -int _c4iw_write_mem_dma(struct c4iw_rdev *rdev, u32 addr, u32 len, voi= d *data) +static int _c4iw_write_mem_dma(struct c4iw_rdev *rdev, u32 addr, u32 l= en, void *data) { u32 remain =3D len; u32 dmalen; --=20 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html