[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166980022042.3017288.9367198168572746077.b4-ty@ellerman.id.au>
Date: Wed, 30 Nov 2022 20:23:40 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Finn Thain <fthain@...ux-m68k.org>
Cc: Christophe Leroy <christophe.leroy@...roup.eu>,
linuxppc-dev@...ts.ozlabs.org,
Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] macintosh/via-pmu: Avoid compiler warnings when CONFIG_PROC_FS is disabled
On Mon, 21 Mar 2022 20:28:00 +1100, Finn Thain wrote:
> drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined but not used [-Wunused-function]
> static int pmu_battery_proc_show(struct seq_file *m, void *v)
> ^~~~~~~~~~~~~~~~~~~~~
> drivers/macintosh/via-pmu.c:871:12: warning: 'pmu_irqstats_proc_show' defined but not used [-Wunused-function]
> static int pmu_irqstats_proc_show(struct seq_file *m, void *v)
> ^~~~~~~~~~~~~~~~~~~~~~
> drivers/macintosh/via-pmu.c:860:12: warning: 'pmu_info_proc_show' defined but not used [-Wunused-function]
> static int pmu_info_proc_show(struct seq_file *m, void *v)
> ^~~~~~~~~~~~~~~~~~
>
> [...]
Applied to powerpc/next.
[1/1] macintosh/via-pmu: Avoid compiler warnings when CONFIG_PROC_FS is disabled
https://git.kernel.org/powerpc/c/27f9690a81d7acf185b78be8d03d4b3a243116b1
cheers
Powered by blists - more mailing lists