OpenCloudOS-Kernel/arch/x86/kernel/cpu/microcode
Junichi Nomura 9fcf5ba2ef x86/microcode/intel: Fix allocation size of struct ucode_patch
We allocate struct ucode_patch here. @size is the size of microcode data
and used for kmemdup() later in this function.

Fixes: 06b8534cb7 ("x86/microcode: Rework microcode loading")
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/7a730dc9-ac17-35c4-fe76-dfc94e5ecd95@ce.jp.nec.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-01-09 23:11:14 +01:00
..
Makefile x86/microcode/intel: Remove intel_lib.c 2016-10-25 12:28:59 +02:00
amd.c x86/microcode/AMD: Use native_cpuid() in load_ucode_amd_bsp() 2016-12-19 10:46:20 +01:00
core.c x86/microcode/AMD: Reload proper initrd start address 2016-12-21 10:50:04 +01:00
intel.c x86/microcode/intel: Fix allocation size of struct ucode_patch 2017-01-09 23:11:14 +01:00