Re: [PATCH] x86: fix small sparse warning

From: Ingo Molnar
Date: Thu Jan 31 2008 - 10:00:54 EST



* Harvey Harrison <harvey.harrison@xxxxxxxxx> wrote:

> arch/x86/kernel/ds.c:226:9: warning: Using plain integer as NULL
> pointer

> kfree(*dsp);
> - *dsp = 0;
> + *dsp = NULL;

thanks, applied.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/