projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
831f9bd
)
x86: minor pointer type cast in AMD microcode patch loader
author
Peter Oruba
<peter.oruba@amd.com>
Tue, 29 Jul 2008 15:41:07 +0000
(17:41 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 31 Jul 2008 21:26:17 +0000
(23:26 +0200)
Signed-off-by: Peter Oruba <peter.oruba@amd.com>
Cc: Peter Oruba <peter.oruba@amd.com>
Cc: Tigran Aivazian <tigran@aivazian.fsnet.co.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_amd.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/microcode_amd.c
b/arch/x86/kernel/microcode_amd.c
index 2b98e6ab1bf920c24f8be67c7b10657bdef979f2..33b2a217a8c552cc7ce616f9a1f74487c498051f 100644
(file)
--- a/
arch/x86/kernel/microcode_amd.c
+++ b/
arch/x86/kernel/microcode_amd.c
@@
-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) {