Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1738067

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

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject [PATCH] Fix C++ kernel in include/linux/mtd/mtd.h
Date 2017-09-23 22:20 +0200
Message-ID <usZ46-7GJ-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

C++ comments look wrong in kernel tree. Fix one.

Signed-off-by: Pavel Machek <pavel@ucw.cz>

diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 6cd0f6b..849543f1 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -267,7 +267,7 @@ struct mtd_info {
 	 */
 	unsigned int bitflip_threshold;
 
-	// Kernel-only stuff starts here.
+	/* Kernel-only stuff starts here. */
 	const char *name;
 	int index;
 

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] Fix C++ kernel in include/linux/mtd/mtd.h Pavel Machek <pavel@ucw.cz> - 2017-09-23 22:20 +0200
  Re: [PATCH] Fix C++ kernel in include/linux/mtd/mtd.h Marek Vasut <marek.vasut@gmail.com> - 2017-09-23 23:20 +0200
    Re: [PATCH] Fix C++ kernel in include/linux/mtd/mtd.h Richard Weinberger <richard@nod.at> - 2017-09-24 10:30 +0200
    Re: [PATCH] Fix C++ kernel in include/linux/mtd/mtd.h Boris Brezillon <boris.brezillon@free-electrons.com> - 2017-09-24 10:30 +0200

csiph-web