Skip to content
Commit 90fc7392 authored by Colin Ian King's avatar Colin Ian King Committed by Ingo Molnar
Browse files

x86/ioperm: Initialize pointer bitmap with NULL rather than 0



The pointer bitmap is being initialized with a plain integer 0,
fix this by initializing it with a NULL instead.

Cleans up sparse warning:
arch/x86/xen/enlighten_pv.c:876:27: warning: Using plain integer
as NULL pointer

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarJuergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20200721100217.407975-1-colin.king@canonical.com
parent 2d65685a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment