diff mbox series

powerpc: Stop exporting __clear_user which is now inlined.

Message ID 20201204232807.31887-1-msuchanek@suse.de
State New
Headers show
Series powerpc: Stop exporting __clear_user which is now inlined. | expand

Commit Message

Michal Suchanek Dec. 4, 2020, 11:28 p.m. UTC
Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
enabled") redefines __clear_user as inline function but does not remove
the export.

Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 arch/powerpc/lib/ppc_ksyms.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Michael Ellerman Dec. 5, 2020, 10:58 a.m. UTC | #1
Michal Suchanek <msuchanek@suse.de> writes:
> Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP
> enabled") redefines __clear_user as inline function but does not remove
> the export.
>
> Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")
>
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> ---
>  arch/powerpc/lib/ppc_ksyms.c | 1 -
>  1 file changed, 1 deletion(-)

Acked-by: Michael Ellerman <mpe@ellerman.id.au>

cheers

> diff --git a/arch/powerpc/lib/ppc_ksyms.c b/arch/powerpc/lib/ppc_ksyms.c
> index c7f8e9586316..4b81fd96aa3e 100644
> --- a/arch/powerpc/lib/ppc_ksyms.c
> +++ b/arch/powerpc/lib/ppc_ksyms.c
> @@ -24,7 +24,6 @@ EXPORT_SYMBOL(csum_tcpudp_magic);
>  #endif
>  
>  EXPORT_SYMBOL(__copy_tofrom_user);
> -EXPORT_SYMBOL(__clear_user);
>  EXPORT_SYMBOL(copy_page);
>  
>  #ifdef CONFIG_PPC64
> -- 
> 2.26.2
Greg KH Dec. 6, 2020, 9:50 a.m. UTC | #2
On Sat, Dec 05, 2020 at 09:58:23PM +1100, Michael Ellerman wrote:
> Michal Suchanek <msuchanek@suse.de> writes:

> > Stable commit 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP

> > enabled") redefines __clear_user as inline function but does not remove

> > the export.

> >

> > Fixes: 452e2a83ea23 ("powerpc: Fix __clear_user() with KUAP enabled")

> >

> > Signed-off-by: Michal Suchanek <msuchanek@suse.de>

> > ---

> >  arch/powerpc/lib/ppc_ksyms.c | 1 -

> >  1 file changed, 1 deletion(-)

> 

> Acked-by: Michael Ellerman <mpe@ellerman.id.au>


Now applied, thanks.

greg k-h
diff mbox series

Patch

diff --git a/arch/powerpc/lib/ppc_ksyms.c b/arch/powerpc/lib/ppc_ksyms.c
index c7f8e9586316..4b81fd96aa3e 100644
--- a/arch/powerpc/lib/ppc_ksyms.c
+++ b/arch/powerpc/lib/ppc_ksyms.c
@@ -24,7 +24,6 @@  EXPORT_SYMBOL(csum_tcpudp_magic);
 #endif
 
 EXPORT_SYMBOL(__copy_tofrom_user);
-EXPORT_SYMBOL(__clear_user);
 EXPORT_SYMBOL(copy_page);
 
 #ifdef CONFIG_PPC64