[PATCH] powerpc/eeh: Fix build failure with CONFIG_PROC_FS=n

Michael Ellerman patch-notifications at ellerman.id.au
Wed Mar 31 12:09:38 AEDT 2021


On Sun, 14 Mar 2021 20:33:00 +1100, Michael Ellerman wrote:
> The build fails with CONFIG_PROC_FS=n:
> 
>   arch/powerpc/kernel/eeh.c:1571:12: error: ‘proc_eeh_show’ defined but not used
>    1571 | static int proc_eeh_show(struct seq_file *m, void *v)
> 
> Wrap proc_eeh_show() in an ifdef to avoid it.

Applied to powerpc/next.

[1/1] powerpc/eeh: Fix build failure with CONFIG_PROC_FS=n
      https://git.kernel.org/powerpc/c/7a7685acd2129e2e5d433636120b4c5038c03e51

cheers


More information about the Linuxppc-dev mailing list