Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
On Mon, 21 Mar 2022, Christophe Leroy wrote: > Le 21/03/2022 à 09:50, Finn Thain a écrit : > > Hi Christophe, > > > > On Mon, 21 Mar 2022, Finn Thain wrote: > > > >> On Mon, 21 Mar 2022, Christophe Leroy wrote: > >> > >>> Le 19/03/2022 à 08:20, Finn Thain a écrit : > drivers/macintosh/via-p

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 09:50, Finn Thain a écrit : > Hi Christophe, > > On Mon, 21 Mar 2022, Finn Thain wrote: > >> On Mon, 21 Mar 2022, Christophe Leroy wrote: >> >>> Le 19/03/2022 à 08:20, Finn Thain a écrit : drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' defined bu

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Christophe Leroy
Le 21/03/2022 à 09:33, Finn Thain a écrit : > On Mon, 21 Mar 2022, Christophe Leroy wrote: > >> Le 19/03/2022 à 08:20, Finn Thain a écrit : >>> drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' >>> defined but not used [-Wunused-function] >>>static int pmu_battery_proc_sh

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
Hi Christophe, On Mon, 21 Mar 2022, Finn Thain wrote: > On Mon, 21 Mar 2022, Christophe Leroy wrote: > > > Le 19/03/2022 à 08:20, Finn Thain a écrit : > > > drivers/macintosh/via-pmu.c:897:12: warning: 'pmu_battery_proc_show' > > > defined but not used [-Wunused-function] > > > static int pmu

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-21 Thread Finn Thain
On Mon, 21 Mar 2022, Christophe Leroy wrote: > Le 19/03/2022 à 08:20, Finn Thain a écrit : > > 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) > > ^~~

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-20 Thread Christophe Leroy
Le 19/03/2022 à 08:20, Finn Thain a écrit : > 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:1

Re: [PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-19 Thread Randy Dunlap
On 3/19/22 00:20, 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: warnin

[PATCH] macintosh/via-pmu: Fix compiler warnings when CONFIG_PROC_FS is disabled

2022-03-19 Thread Finn Thain
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