Re: [Xen-devel] [PATCH 09/10] xen/swiotlb: Fix compile warnings whenusing plain integer instead of NULL pointer.

From: Ian Jackson
Date: Thu Sep 13 2012 - 12:00:26 EST


Ian Jackson writes ("Re: [Xen-devel] [PATCH 09/10] xen/swiotlb: Fix compile warnings when using plain integer instead of NULL pointer."):
> Oh wait this is Linux kernel code, not in Xen? Still,
> Documentation/CodingStyle doesn't say that NULL is required.

Someone on irc found me this rant from Linus:
https://lkml.org/lkml/2004/7/8/7
That suggests that perhaps someone should patch CodingStyle to
document this style requirement.

That someone shouldn't be me because I don't agree with the
requirement and a rationale I'd write for it would come out sounding
sarcastic.

Ian.
--
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/