[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180709212511.GB30247@fury>
Date: Mon, 9 Jul 2018 14:25:11 -0700
From: Darren Hart <dvhart@...radead.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Platform Driver <platform-driver-x86@...r.kernel.org>,
Andy Shevchenko <andy@...radead.org>,
LKML <linux-kernel@...r.kernel.org>,
Azael Avalos <coproscefalo@...il.com>
Subject: Re: [PATCH] platform/x86/toshiba_acpi.c: fix defined but not used
build warnings
On Fri, Jul 06, 2018 at 08:53:09PM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <rdunlap@...radead.org>
>
> Fix a build warning in toshiba_acpi.c when CONFIG_PROC_FS is not enabled
> by marking the unused function as __maybe_unused.
>
> ../drivers/platform/x86/toshiba_acpi.c:1685:12: warning: 'version_proc_show' defined but not used [-Wunused-function]
>
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Cc: Azael Avalos <coproscefalo@...il.com>
> Cc: platform-driver-x86@...r.kernel.org
> Cc: Darren Hart <dvhart@...radead.org>
> Cc: Andy Shevchenko <andy@...radead.org>
Thanks Randy, queued.
--
Darren Hart
VMware Open Source Technology Center
Powered by blists - more mailing lists