]> Git Repo - linux.git/commit
init/main.c: include <linux/mem_encrypt.h>
authorMathieu Malaterre <[email protected]>
Fri, 25 May 2018 21:48:00 +0000 (14:48 -0700)
committerLinus Torvalds <[email protected]>
Sat, 26 May 2018 01:12:11 +0000 (18:12 -0700)
commitae67d58d0546ad3e1ef323d69de6c3708022791f
tree2587f76cf925ddacf5bb3ef672317d94018431c1
parent23d6aef74da86a33fa6bb75f79565e0a16ee97c2
init/main.c: include <linux/mem_encrypt.h>

In commit 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/[email protected]
Signed-off-by: Mathieu Malaterre <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Dominik Brodowski <[email protected]>
Cc: Gargi Sharma <[email protected]>
Cc: Josh Poimboeuf <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
init/main.c
This page took 0.055941 seconds and 4 git commands to generate.