[PATCH] Fix C++ kernel in include/linux/mtd/mtd.h

David Woodhouse dwmw2 at infradead.org
Fri Oct 6 05:25:55 PDT 2017


On Fri, 2017-10-06 at 14:13 +0200, Pavel Machek wrote:
> > You can change 'C++' to 'C99' too, while you're at it :)
>
> No. They are C++ comments... as in... dangerous infection that came
> from C++. Yes, C99 is infected, too, but still C++ is original source
> of infection :-).

C++ is a different language, and irrelevant here. You could call them
Java comments if you want, but that would be equally silly. In the
kernel, they are C99 comments. Valid, but not our preferred style
(which is fair enough, unlike our idiotic refusal to use C99 integer
types).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4938 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20171006/eab430c1/attachment-0001.bin>


More information about the linux-mtd mailing list