The patch titled Subject: init/main.c: include <linux/mem_encrypt.h> has been added to the -mm tree. Its filename is add-missing-header-include-linux-mem_encrypth.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/add-missing-header-include-linux-mem_encrypth.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/add-missing-header-include-linux-mem_encrypth.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Mathieu Malaterre <malat@xxxxxxxxxx> Subject: init/main.c: include <linux/mem_encrypt.h> In c7753208a94c ("x86, swiotlb: Add memory encryption support") a call to function `mem_encrypt_init' was added. Include prototype defined in header <linux/mem_encrypt.h> to prevent a warning reported during compilation with W=1: init/main.c:494:20: warning: no previous prototype for `mem_encrypt_init' [-Wmissing-prototypes] Link: http://lkml.kernel.org/r/20180522195533.31415-1-malat@xxxxxxxxxx Signed-off-by: Mathieu Malaterre <malat@xxxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Tom Lendacky <thomas.lendacky@xxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Cc: Laura Abbott <lauraa@xxxxxxxxxxxxxx> Cc: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx> Cc: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx> Cc: Gargi Sharma <gs051095@xxxxxxxxx> Cc: Josh Poimboeuf <jpoimboe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- init/main.c | 1 + 1 file changed, 1 insertion(+) diff -puN init/main.c~add-missing-header-include-linux-mem_encrypth init/main.c --- a/init/main.c~add-missing-header-include-linux-mem_encrypth +++ a/init/main.c @@ -91,6 +91,7 @@ #include <linux/cache.h> #include <linux/rodata_test.h> #include <linux/jump_label.h> +#include <linux/mem_encrypt.h> #include <asm/io.h> #include <asm/bugs.h> _ Patches currently in -mm which might be from malat@xxxxxxxxxx are add-missing-header-include-linux-mem_encrypth.patch mm-slubc-add-__printf-verification-to-slab_err.patch mm-move-is_pageblock_removable_nolock-to-mm-memory_hotplugc.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html