summaryrefslogtreecommitdiff
path: root/curvetun_mgmt.h
AgeCommit message (Collapse)AuthorFilesLines
2013-07-11curvetun_mgmt: consolidate the two mgmt include files into oneDaniel Borkmann1-0/+7
Consolidate the two mgmt include files into one. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
3f6065a0f1f142f92d1cf716d586c2'>patch) tree4c3d9ab659b36059f8c9c8d65c148e0d406028e8 parent8feaa64a9a69652fdff87205f8a8cfe1bfd5b522 (diff)
x86/microcode/AMD: Sanitize apply_microcode_early_amd()
Make it simply return bool to denote whether it found a container or not and return the pointer to the container and its size in the handed-in container pointer instead, as returning a struct was just silly. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Jürgen Gross <jgross@suse.com> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: http://lkml.kernel.org/r/20161218164414.9649-3-bp@alien8.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat
-rw-r--r--arch/x86/kernel/cpu/microcode/amd.c30
1 files changed, 17 insertions, 13 deletions
diff --git a/arch/x86/kernel/cpu/microcode/amd.c b/arch/x86/kernel/cpu/microcode/amd.c