From: David Howells Date: Tue, 1 Mar 2016 10:36:07 +0000 (+0000) Subject: MODSIGN: linux/string.h should be #included to get memcpy() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=89053aa9c711bd455a68844b4ed37c8b72ef1daa;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git MODSIGN: linux/string.h should be #included to get memcpy() linux/string.h should be #included in module_signing.c to get memcpy(), lest the following occur: kernel/module_signing.c: In function 'mod_verify_sig': kernel/module_signing.c:57:2: error: implicit declaration of function 'memcpy' [-Werror=implicit-function-declaration] memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms)); ^ Reported-by: kbuild test robot Signed-off-by: David Howells --- diff --git a/kernel/module_signing.c b/kernel/module_signing.c index 6528a79d998d..9cfa46d8d14f 100644 --- a/kernel/module_signing.c +++ b/kernel/module_signing.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include "module-internal.h"