2024-03-27 00:22:12

by Kent Overstreet

[permalink] [raw]
Subject: [PATCH] fixup! fix missing vmalloc.h includes

The previous patch added string.h to arch/alpha/lib/memcpy.c to fix a
warning about a missing forward declaration - but this breaks with -
presumably - some fortify source shenanigans that redefine memcpy as a
macro.

Signed-off-by: Kent Overstreet <[email protected]>
---
arch/alpha/lib/memcpy.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/arch/alpha/lib/memcpy.c b/arch/alpha/lib/memcpy.c
index 0e536a1a39ff..cbac3dc6d963 100644
--- a/arch/alpha/lib/memcpy.c
+++ b/arch/alpha/lib/memcpy.c
@@ -18,7 +18,6 @@

#include <linux/types.h>
#include <linux/export.h>
-#include <linux/string.h>

/*
* This should be done in one go with ldq_u*2/mask/stq_u. Do it
--
2.43.0