[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1412624183.2916.35.camel@joe-AO725>
Date: Mon, 06 Oct 2014 12:36:23 -0700
From: Joe Perches <joe@...ches.com>
To: Josh Triplett <josh@...htriplett.org>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
David Miller <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Julia Lawall <julia.lawall@...6.fr>,
Dan Carpenter <error27@...il.com>
Subject: Re: [PATCH net-next] net: validate_xmit_vlan() is static
On Mon, 2014-10-06 at 12:07 -0700, Josh Triplett wrote:
> On Mon, Oct 06, 2014 at 11:44:02AM -0700, Joe Perches wrote:
> > On Mon, 2014-10-06 at 11:26 -0700, Eric Dumazet wrote:
> > > From: Eric Dumazet <edumazet@...gle.com>
> > >
> > > Marking this as static allows compiler to inline it.
> >
> > Found by inspection or another tool?
> >
> > Wasn't there some tool to look for non-static functions
> > that are not called externally that could/should be
> > converted to static?
>
> Several: sparse,
Doesn't find anything for this use case
> gcc -Wmissing-prototypes, and findstatic.pl.
Right, thanks, using "make W=1" adds -Wmissing-prototypes.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists