x86: microcode_amd: fix compile warning
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Tue, 16 Dec 2008 18:13:00 +0000 (19:13 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 16 Dec 2008 18:58:02 +0000 (19:58 +0100)
commit8c135206c826095c852c16d94a0a74eeaf05c90d
tree91dfbdb679bef091ce5752fbf9fc19f42d6f6bf6
parentbe957763b01905d33b53cdd25c8df110f94f499a
x86: microcode_amd: fix compile warning

Impact: fix build warning

  CC      arch/x86/kernel/microcode_amd.o
arch/x86/kernel/microcode_amd.c: In function ‘request_microcode_fw’:
arch/x86/kernel/microcode_amd.c:393: warning: passing argument 2 of ‘generic_load_microcode’ discards qualifiers from pointer target type

(Respect "const" qualifier of firmware->data.)

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/microcode_amd.c