[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20171014.184415.1494506034540565914.davem@davemloft.net>
Date: Sat, 14 Oct 2017 18:44:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, mrv@...atatu.com
Subject: Re: [Patch net-next] net_sched: fix a compile warning in act_ife
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Fri, 13 Oct 2017 12:58:13 -0700
> Apparently ife_meta_id2name() is only called when
> CONFIG_MODULES is defined.
>
> This fixes:
>
> net/sched/act_ife.c:251:20: warning: ‘ife_meta_id2name’ defined but not used [-Wunused-function]
> static const char *ife_meta_id2name(u32 metaid)
> ^~~~~~~~~~~~~~~~
>
> Fixes: d3f24ba895f0 ("net sched actions: fix module auto-loading")
> Cc: Roman Mashak <mrv@...atatu.com>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
Applied.
Powered by blists - more mailing lists