The decompress.c file includes linux/kernel.h which causes the following inclusion chain to be pulled: linux/kernel.h -> linux/dynamic_debug.h -> linux/string.h -> asm/string.h We might end up having a conflicting memcpy() and memset() pulled from asm/string.h, since we use no declaration from linux/kernel.h, just remove this include. Signed-off-by: Florian Fainelli <florian@xxxxxxxxxxx> --- Changes since v1: - removed the long story about the problem we are fixing - only remove the linux/kernel.h line arch/mips/boot/compressed/decompress.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/boot/compressed/decompress.c b/arch/mips/boot/compressed/decompress.c index 5cad0fa..b461efa 100644 --- a/arch/mips/boot/compressed/decompress.c +++ b/arch/mips/boot/compressed/decompress.c @@ -12,7 +12,6 @@ */ #include <linux/types.h> -#include <linux/kernel.h> #include <asm/addrspace.h> -- 1.7.10.4