From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751618AbdIWVKa (ORCPT ); Sat, 23 Sep 2017 17:10:30 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34268 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839AbdIWVK3 (ORCPT ); Sat, 23 Sep 2017 17:10:29 -0400 X-Google-Smtp-Source: AOwi7QCQRtflkTYXASkw+7YwEOltGFEY404ncaPqcF7DE3j5tv4cDGM4tZDgHT38b4aFE4JpTPwmTQ== 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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