From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2 9/9] drivers: net: Mark function xenvif_count_frag_slots() as static in netback.c Date: Mon, 16 Dec 2013 10:50:10 +0000 Message-ID: <1387191010.20076.66.camel@kazak.uk.xensource.com> References: <609db9fcc843525f9ca2f18673744cad2fb9fb8c.1386911124.git.rashika.kheria@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: , Wei Liu , , , To: Rashika Kheria Return-path: In-Reply-To: <609db9fcc843525f9ca2f18673744cad2fb9fb8c.1386911124.git.rashika.kheria@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sat, 2013-12-14 at 18:02 +0530, Rashika Kheria wrote: > This patch marks the function xenvif_count_frag_slots() in netback.c = as > static because they are not used outside this file. >=20 > Thus, it also removes the following warning in xen-netback/netback.c: > drivers/net/xen-netback/netback.c:218:14: warning: no previous protot= ype for =E2=80=98xenvif_count_frag_slots=E2=80=99 [-Wmissing-prototypes= ] >=20 > Signed-off-by: Rashika Kheria > Reviewed-by: Josh Triplett Acked-by: Ian Campbell > --- >=20 > This revision fixes the following issues of the previous revision: > Change commit message subject >=20 > drivers/net/xen-netback/netback.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netb= ack/netback.c > index 64f0e0d..9e4f399 100644 > --- a/drivers/net/xen-netback/netback.c > +++ b/drivers/net/xen-netback/netback.c > @@ -215,7 +215,7 @@ struct xenvif_count_slot_state { > bool head; > }; > =20 > -unsigned int xenvif_count_frag_slots(struct xenvif *vif, > +static unsigned int xenvif_count_frag_slots(struct xenvif *vif, > unsigned long offset, unsigned long size, > struct xenvif_count_slot_state *state) > {