Re: [PATCH] net/sched: avoid unused-label warning

2019-03-06 Thread Arnd Bergmann
On Wed, Mar 6, 2019 at 1:28 AM Cong Wang wrote: > On Mon, Mar 4, 2019 at 12:40 PM Arnd Bergmann wrote: > > diff --git a/net/sched/act_tunnel_key.c b/net/sched/act_tunnel_key.c > > index 2a5f215ae876..3beb4717d3b7 100644 > > --- a/net/sched/act_tunnel_key.c > > +++ b/net/sched/act_tunnel_key.c > >

Re: [PATCH] net/sched: avoid unused-label warning

2019-03-05 Thread Cong Wang
On Mon, Mar 4, 2019 at 12:40 PM Arnd Bergmann wrote: > > The label is only used from inside the #ifdef and should be > hidden the same way, to avoid this warning: > > net/sched/act_tunnel_key.c: In function 'tunnel_key_init': > net/sched/act_tunnel_key.c:389:1: error: label 'release_tun_meta' defi

Re: [PATCH] net/sched: avoid unused-label warning

2019-03-04 Thread David Miller
From: Arnd Bergmann Date: Mon, 4 Mar 2019 21:40:32 +0100 > The label is only used from inside the #ifdef and should be > hidden the same way, to avoid this warning: > > net/sched/act_tunnel_key.c: In function 'tunnel_key_init': > net/sched/act_tunnel_key.c:389:1: error: label 'release_tun_meta'