Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1724644ybd; Thu, 27 Jun 2019 00:10:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeNC9CZfPpv+BkyyqSzFN7E9wcJYDAsvxGP7nL5VU7Q3sPJWPv9GdG/yuGJ6xS83d5/mqG X-Received: by 2002:a17:902:f087:: with SMTP id go7mr2865286plb.330.1561619413145; Thu, 27 Jun 2019 00:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561619413; cv=none; d=google.com; s=arc-20160816; b=T78bsgmUnSTY7/PtNhFCZFqIPekG4SGsrel8Tz+9YLDJZGaFe8lZfT7jX0bgdAXU8M SPxZWTZt94zTAK67X+1jK9Zy9myaW+cDKWbCldJBIAM7oXiJjbbQHDPmf6BQI3C6Oqb9 q2Qn60a82nNNOaAK0GJ7/ZjAIE448QginhXkPWReTb+zxWbVPusTa+xdFYnCgHy/vOI8 ikzaiAV5QUzXnfY1/mdHwC0U/6PkFAmoF4jyXjtZ2fZwr7rshVt+E52zRGlDyNHo7He6 seJacIEPxJ3m/rLwfnznScLE43ToLwuCWKSX85VV7CBm2HhWXMirhXHKo+y6v2SlX1v1 bEsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=Me6XZe6RMVm7ORc75tTq5ObpD2opR8ehVOvWvOAsKDQ=; b=MYkOx4ddS5ZPm1F23vJ+Ciuvk9eRRv50c8976+YFKlXaX+GRRZ9mlLQQxVZUVyJSzo nvoXctHRnPdVeoqB3FcYL19BLOd0ZAQEJ/fkEp7yOj74+uHeBCTnSOpgLsLYKUBNSNUP OQr7CPqHyDXBvyoGh+01J2ZA0oBd90rLiBA1/oSTDU3KRW0bz+plalLDs4bAaKnF6avD 58qUjupecqfGtdehhHiDz+oO5xQV9DFFRXx+4+1ASITYH5hd0MZeVPtZ4+xEt7ubhwV1 7dDynO4q5wZw+nKj7fHUvxQTAV1exaDFpt+mY8q7aiiGSa+XqA3qIEE3LNA13FCYFFa8 hSCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NcyB7YTo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u67si1420610pgu.219.2019.06.27.00.09.56; Thu, 27 Jun 2019 00:10:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NcyB7YTo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726441AbfF0HJ0 (ORCPT + 99 others); Thu, 27 Jun 2019 03:09:26 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:42802 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726059AbfF0HJ0 (ORCPT ); Thu, 27 Jun 2019 03:09:26 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id x5R77uGW006669; Thu, 27 Jun 2019 16:07:56 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com x5R77uGW006669 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1561619277; bh=Me6XZe6RMVm7ORc75tTq5ObpD2opR8ehVOvWvOAsKDQ=; h=From:To:Cc:Subject:Date:From; b=NcyB7YToht5y8f6ew+RnmCn5gizrkwen96RjPfFCTQOqi4+ATTfKHCl23WW1O2uPo IXanyXgvCXDOYXxJ9Rm6dBCnbk4m9SmyX5KY2DnxXHOJv0SOlJCeLa9GVdSa398Svo 0zHiLzxZHyw34702W52kp0ljjDP/6XP0wi6DBRNHZoXrBKoL5H6hz2t87CI0b6uQN3 +6l7Gb58nplN9j1DSwvny0f0vpsL8owYXbWtmogi6CupiuLmriqIuznVjw5HtJSjk7 QsZnkufaeC2dhSk6Hza29AD56DGnwIFNBsfBfaZrQ/e161cgnv6JgV3cqpapjN+u1q Qv2lqj7N0A+jA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: David Woodhouse , Brian Norris , Marek Vasut , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] mtd: abi: do not use C++ style comments in uapi header Date: Thu, 27 Jun 2019 16:07:45 +0900 Message-Id: <20190627070745.9561-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linux kernel tolerates C++ style comments these days. Actually, the SPDX License tags for .c files start with //. On the other hand, uapi headers are written in more strict C, where the C++ comment style is forbidden. Signed-off-by: Masahiro Yamada --- include/uapi/mtd/mtd-abi.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/uapi/mtd/mtd-abi.h b/include/uapi/mtd/mtd-abi.h index aff5b5e59845..47ffe3208c27 100644 --- a/include/uapi/mtd/mtd-abi.h +++ b/include/uapi/mtd/mtd-abi.h @@ -113,11 +113,11 @@ struct mtd_write_req { #define MTD_CAP_NVRAM (MTD_WRITEABLE | MTD_BIT_WRITEABLE | MTD_NO_ERASE) /* Obsolete ECC byte placement modes (used with obsolete MEMGETOOBSEL) */ -#define MTD_NANDECC_OFF 0 // Switch off ECC (Not recommended) -#define MTD_NANDECC_PLACE 1 // Use the given placement in the structure (YAFFS1 legacy mode) -#define MTD_NANDECC_AUTOPLACE 2 // Use the default placement scheme -#define MTD_NANDECC_PLACEONLY 3 // Use the given placement in the structure (Do not store ecc result on read) -#define MTD_NANDECC_AUTOPL_USR 4 // Use the given autoplacement scheme rather than using the default +#define MTD_NANDECC_OFF 0 /* Switch off ECC (Not recommended) */ +#define MTD_NANDECC_PLACE 1 /* Use the given placement in the structure (YAFFS1 legacy mode) */ +#define MTD_NANDECC_AUTOPLACE 2 /* Use the default placement scheme */ +#define MTD_NANDECC_PLACEONLY 3 /* Use the given placement in the structure (Do not store ecc result on read) */ +#define MTD_NANDECC_AUTOPL_USR 4 /* Use the given autoplacement scheme rather than using the default */ /* OTP mode selection */ #define MTD_OTP_OFF 0 -- 2.17.1