You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
x86: kexec/i386: fix sparse warnings: Using plain integer as NULL pointer
Fix these sparse warnings: arch/x86/kernel/machine_kexec_32.c:124:22: warning: Using plain integer as NULL pointer arch/x86/kernel/traps.c:950:24: warning: Using plain integer as NULL pointer Signed-off-by: Hannes Eder <hannes@hanneseder.net> Cc: trivial@kernel.org Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -121,7 +121,7 @@ static void machine_kexec_page_table_set_one(
|
||||
static void machine_kexec_prepare_page_tables(struct kimage *image)
|
||||
{
|
||||
void *control_page;
|
||||
pmd_t *pmd = 0;
|
||||
pmd_t *pmd = NULL;
|
||||
|
||||
control_page = page_address(image->control_code_page);
|
||||
#ifdef CONFIG_X86_PAE
|
||||
|
||||
Reference in New Issue
Block a user