Commit daa9c0fe authored by Peter Oruba's avatar Peter Oruba Committed by Ingo Molnar
Browse files

x86: minor pointer type cast in AMD microcode patch loader

Signed-off-by: default avatarPeter Oruba <>
Cc: Peter Oruba <>
Cc: Tigran Aivazian <>
Signed-off-by: default avatarIngo Molnar <>
parent 831f9bd3
......@@ -394,7 +394,8 @@ static int cpu_request_microcode_amd(int cpu)
return error;
buf_pos = buf = firmware->data;
buf_pos = (unsigned int *)firmware->data;
buf = (void *)firmware->data;
size = firmware->size;
if (buf_pos[0] != UCODE_MAGIC) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment