lkml.org 
[lkml]   [2020]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH][next] x86/ioperm: initialize pointer bitmap with NULL rather than 0
From
Date
On 21.07.20 12:02, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> 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: Colin Ian King <colin.king@canonical.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

\
 
 \ /
  Last update: 2020-07-21 17:28    [W:0.038 / U:1.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site