diff options
Diffstat (limited to 'arch/x86/kernel/microcode.c')
| -rw-r--r-- | arch/x86/kernel/microcode.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/microcode.c b/arch/x86/kernel/microcode.c index 69729e38b78..649dfd761f2 100644 --- a/arch/x86/kernel/microcode.c +++ b/arch/x86/kernel/microcode.c @@ -488,7 +488,7 @@ MODULE_ALIAS_MISCDEV(MICROCODE_MINOR);  #define microcode_dev_exit() do { } while(0)  #endif -static long get_next_ucode_from_buffer(void **mc, void *buf, +static long get_next_ucode_from_buffer(void **mc, const u8 *buf,  	unsigned long size, long offset)  {  	microcode_header_t *mc_header; @@ -522,7 +522,7 @@ static int cpu_request_microcode(int cpu)  	char name[30];  	struct cpuinfo_x86 *c = &cpu_data(cpu);  	const struct firmware *firmware; -	void *buf; +	const u8 *buf;  	unsigned long size;  	long offset = 0;  	int error;  |