Messages in this thread |  | | From | Michael Ellerman <> | Subject | Re: [PATCH v2 -next] powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n | Date | Sat, 12 Mar 2022 21:29:46 +1100 |
| |
On Tue, 8 Mar 2022 18:09:28 +0800, YueHaibing wrote: > arch/powerpc/platforms/cell/spufs/sched.c:1055:12: warning: ‘show_spu_loadavg’ defined but not used [-Wunused-function] > static int show_spu_loadavg(struct seq_file *s, void *private) > ^~~~~~~~~~~~~~~~ > > Move it into #ifdef block to fix this, also remove unneeded semicolon. > > > [...]
Applied to powerpc/next.
[1/1] powerpc/spufs: Fix build warning when CONFIG_PROC_FS=n https://git.kernel.org/powerpc/c/5986f6b6575ac830ede9648cfb64353c58067a9f
cheers
|  |