diff options
-rw-r--r-- | arch/x86/kernel/microcode_amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/microcode_amd.c b/arch/x86/kernel/microcode_amd.c index 9fb8405451c5..c5610384ab16 100644 --- a/arch/x86/kernel/microcode_amd.c +++ b/arch/x86/kernel/microcode_amd.c | |||
@@ -246,7 +246,7 @@ generic_load_microcode(int cpu, const u8 *data, size_t size) | |||
246 | struct ucode_cpu_info *uci = ucode_cpu_info + cpu; | 246 | struct ucode_cpu_info *uci = ucode_cpu_info + cpu; |
247 | struct microcode_header_amd *mc_hdr = NULL; | 247 | struct microcode_header_amd *mc_hdr = NULL; |
248 | unsigned int mc_size, leftover; | 248 | unsigned int mc_size, leftover; |
249 | unsigned long offset; | 249 | int offset; |
250 | const u8 *ucode_ptr = data; | 250 | const u8 *ucode_ptr = data; |
251 | void *new_mc = NULL; | 251 | void *new_mc = NULL; |
252 | unsigned int new_rev = uci->cpu_sig.rev; | 252 | unsigned int new_rev = uci->cpu_sig.rev; |