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 <peter.oruba@amd.com>
Cc: Peter Oruba <peter.oruba@amd.com>
Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
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