2019-05-06 06:22:10

by Christophe Leroy

[permalink] [raw]
Subject: [PATCH] powerpc/kasan: add missing/lost Makefile

For unknown reason, the new Makefile added via the KASAN suppot patch
didn't land into arch/powerpc/mm/kasan/

This patch restores it.

Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support")
Signed-off-by: Christophe Leroy <[email protected]>
---
arch/powerpc/mm/kasan/Makefile | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 arch/powerpc/mm/kasan/Makefile

diff --git a/arch/powerpc/mm/kasan/Makefile b/arch/powerpc/mm/kasan/Makefile
new file mode 100644
index 000000000000..6577897673dd
--- /dev/null
+++ b/arch/powerpc/mm/kasan/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+
+KASAN_SANITIZE := n
+
+obj-$(CONFIG_PPC32) += kasan_init_32.o
--
2.13.3


2019-05-06 13:55:31

by Michael Ellerman

[permalink] [raw]
Subject: Re: [PATCH] powerpc/kasan: add missing/lost Makefile

On Mon, 2019-05-06 at 06:21:00 UTC, Christophe Leroy wrote:
> For unknown reason, the new Makefile added via the KASAN suppot patch
> didn't land into arch/powerpc/mm/kasan/
>
> This patch restores it.
>
> Fixes: 2edb16efc899 ("powerpc/32: Add KASAN support")
> Signed-off-by: Christophe Leroy <[email protected]>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/305d60012304684bd59ea1f67703e516

cheers