From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dvrhL-0006on-EQ for linux-mtd@lists.infradead.org; Sat, 23 Sep 2017 21:10:54 +0000 Received: by mail-wr0-x242.google.com with SMTP id g50so2253024wra.3 for ; Sat, 23 Sep 2017 14:10:29 -0700 (PDT) Subject: Re: [PATCH] Fix C++ kernel in include/linux/mtd/mtd.h To: Pavel Machek , dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, richard@nod.at, cyrille.pitchen@wedev4u.fr, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, trivial@kernel.org References: <20170923201314.GA14742@amd> From: Marek Vasut Message-ID: Date: Sat, 23 Sep 2017 23:10:26 +0200 MIME-Version: 1.0 In-Reply-To: <20170923201314.GA14742@amd> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 09/23/2017 10:13 PM, Pavel Machek wrote: > C++ comments look wrong in kernel tree. Fix one. AFAIR they are now (sadly) accepted, but this patch works for me. Would be nice if trivial could pick it. > Signed-off-by: Pavel Machek > > 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; > > -- Best regards, Marek Vasut