From: Harvey Harrison Date: Thu, 31 Jan 2008 21:05:47 +0000 (+0100) Subject: x86: fix small sparse warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=072b7a58ca534a667f9649ead1628dfb20087e4b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git x86: fix small sparse warning arch/x86/kernel/ds.c:226:9: warning: Using plain integer as NULL pointer Signed-off-by: Harvey Harrison Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c index 1c5ca4d18787..dcd918c1580d 100644 --- a/arch/x86/kernel/ds.c +++ b/arch/x86/kernel/ds.c @@ -223,7 +223,7 @@ int ds_free(void **dsp) if (*dsp) kfree((void *)get_bts_buffer_base(*dsp)); kfree(*dsp); - *dsp = 0; + *dsp = NULL; return 0; }