Re: [PATCH][RESEND] do not redefine userspace's NULL #define

From: Arnd Bergmann
Date: Sat Apr 14 2012 - 05:31:51 EST


On Saturday 14 April 2012, Lubos Lunak wrote:
> That's what the original version of my patch did, but Arnd pointed out that
> other exported headers might use NULL and thus not be self-contained in
> userspace after this change, breaking backwards source compatibility. But I'd
> expect such breakages to be rather unlikely (stddef.h is probably pulled in
> by pretty much everything), so if you're fine with it, I'm ok with this
> solution too.

Yes, I stand corrected on that one. I have checked that actually no exported
headers rely on the definition of NULL, so your original patch is good.

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
--
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/