[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191114090049.47cfee19@cakuba.netronome.com>
Date: Thu, 14 Nov 2019 09:00:49 -0800
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <borisp@...lanox.com>, <aviadye@...lanox.com>,
<john.fastabend@...il.com>, <daniel@...earbox.net>,
<davem@...emloft.net>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next] net/tls: Fix unused function warning
On Thu, 14 Nov 2019 15:39:46 +0800, YueHaibing wrote:
> If PROC_FS is not set, gcc warning this:
>
> net/tls/tls_proc.c:23:12: warning:
> 'tls_statistics_seq_show' defined but not used [-Wunused-function]
>
> Use #ifdef to guard this.
>
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Powered by blists - more mailing lists