From patchwork Tue Jun 18 03:09:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 167105 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3651085ilk; Mon, 17 Jun 2019 20:10:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5MvXCECbGWuzSVfEch4YZMahaU9I2rKTLr1M5w6hHKNPej0uZMITU9EWMw9pLKFU0XRkH X-Received: by 2002:a65:4383:: with SMTP id m3mr521976pgp.435.1560827430114; Mon, 17 Jun 2019 20:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560827430; cv=none; d=google.com; s=arc-20160816; b=KL0H9PWpUX+5ViGCAYS2IWo27hEpTYuFgSDUaS/NAFwQGdIW6mRN50OLpgAIPeqA/f 5hNlr9MNbTU5Uywt87fjGW2JCIZOH2Zi4WoV6C6a2WO6QIRyIGLxSgjujkc6tP7PWumS mROU2Jfs2GUZzVpfTP2VH1DzE3ZefzYwK/2tZxkECmlMwLG6hwMPLODp6Jol3Si56tBT mcJcKr3baoufryomST4drNJcVkuZBzM6Tzho16wVWPH4NIEDrhHxIaIdC9pEkhgJ7enh z5/ro+FIWRsvDe1J7tSTvh6ui/YrDlDCZ5oxUeOp/uTq46PFGD1gRm7i1aZwhjynBNpj qhGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :dkim-filter:dkim-signature; bh=Q/oBwu0hXxstSEWHyvZDr4vpPMLrgtPSvhzWz0Y+ouE=; b=AWsgxhJTFQPJBxIMVW/P0C5itCrkE8tqvMK26cPwgMmjQU48/YzGM0AerQn6Jrszfi P/sqpvN1+Ggs0ZyDdmvdyFRNXfFRDiAQSdcRVsyGTSWbtJRLtFm/2LDqjIORBgTEpAHR OKlF3lQYpCHY6CQr93F6IYAZcr8wIVqQfON8bszRiSUEQz+Vbp1FKOzf2z4iEVDWmZlI pQeonrSIMf4SG8bWUqYLAvCsf6x3ciSKel5sbKvLjb4bvwIbd7iFPKg2YjJHpLtRPC2B Y9sB6y9iwo5A71SvUWZCGlugkcBVkmRGD0CnjiussTYP8qib0dNMY8t4N2S9LQX5B54b /THA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=r7sg+wjl; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=VCqGRQfq; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2607:7c80:54:e::133]) by mx.google.com with ESMTPS id j62si1851475pfb.272.2019.06.17.20.10.29 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 17 Jun 2019 20:10:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) client-ip=2607:7c80:54:e::133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=r7sg+wjl; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=VCqGRQfq; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2607:7c80:54:e::133 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=Q/oBwu0hXxstSEWHyvZDr4vpPMLrgtPSvhzWz0Y+ouE=; b=r7s g+wjlstosWevsB11MCdyTPEgxwuaFP7xbxhe6s2OB88o4GNKE24q7Ca5Bi6PQeorc7aRJcjQ7/RKL 0PKEncASMIOsHiITAbCPusNenQ64Aga/rupJAQUHYklN5aDuR1p7TcStoJXv4vWRNGf5q73fMkn44 On4ohyBULUm7F0bpJUG90LntERhZFwxandpIvDAeU9mr59vYs/up2hG69OoFTlf8k+HkruDtdszU+ 6SWaCvFaP8HNGs+OMoCdufMjneoIc9kOsIF/E4eyUxzpN2i0+/dyPh6ZjniGshatJVzFxWJ4B4PUs tkPj8ZG6DSVjwcVFHKpQRgkvMcwoL+A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hd4Vi-00077z-Ke; Tue, 18 Jun 2019 03:10:14 +0000 Received: from conuserg-08.nifty.com ([210.131.2.75]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hd4Vf-00077P-6c for linux-mtd@lists.infradead.org; Tue, 18 Jun 2019 03:10:12 +0000 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x5I39ceS006664; Tue, 18 Jun 2019 12:09:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x5I39ceS006664 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1560827379; bh=w4XaL6DWiMYpTTLcCsZBTR/341ShCtHYlKihuEWxr64=; h=From:To:Cc:Subject:Date:From; b=VCqGRQfqg7FKlT6XeLpvCjmUWP/l/a5jGC4yCAMB5tT8HiAkKBU5yPYOse0+DHylm t4ucw7vLHJX5d8laPEl2rYvJKjwQYLBozaAjxFXI9Ev2TDg1d9ZJaV+qS6TZlXjH8h +BtM/qmZLZ8+Tz8Gvcr0OsBvMXdN7dEDV4GBnVqjj2D9vQ2Z6fBqn12huGQkby9ep1 hfEoHadDNqLmxptfBc7RttKdpktJoLEZKICRwS13qctmF+ZaHV7P4GRA1VPR5Wb2O0 Rh6XGQpYCnt3+1sfxVvyQm7hGeCFx6jM/t+iykeq0/mmkDcaeQkTEibbbOPEYsbdH/ UmL1tFervQqFg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Subject: [PATCH v2] jffs2: remove C++ style comments from uapi header Date: Tue, 18 Jun 2019 12:09:26 +0900 Message-Id: <20190618030926.30616-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190617_201011_566089_8871D7D1 X-CRM114-Status: UNSURE ( 7.81 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.0 (+) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (1.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [210.131.2.75 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Masahiro Yamada , Richard Weinberger , Boris Brezillon , linux-kernel@vger.kernel.org, Marek Vasut , Miquel Raynal , Brian Norris , David Woodhouse MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.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. I simply dropped these lines instead of fixing the comment style. This code has been always commented out since it was added around Linux 2.4.9 (i.e. commented out for more than 17 years). 'Maybe later...' will never happen. Signed-off-by: Masahiro Yamada --- Changes in v2: - Delete the comments entirely instead of fixing the comment style include/uapi/linux/jffs2.h | 5 ----- 1 file changed, 5 deletions(-) -- 2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ Acked-by: Richard Weinberger diff --git a/include/uapi/linux/jffs2.h b/include/uapi/linux/jffs2.h index a18b719f49d4..784ba0b9690a 100644 --- a/include/uapi/linux/jffs2.h +++ b/include/uapi/linux/jffs2.h @@ -77,11 +77,6 @@ #define JFFS2_ACL_VERSION 0x0001 -// Maybe later... -//#define JFFS2_NODETYPE_CHECKPOINT (JFFS2_FEATURE_RWCOMPAT_DELETE | JFFS2_NODE_ACCURATE | 3) -//#define JFFS2_NODETYPE_OPTIONS (JFFS2_FEATURE_RWCOMPAT_COPY | JFFS2_NODE_ACCURATE | 4) - - #define JFFS2_INO_FLAG_PREREAD 1 /* Do read_inode() for this one at mount time, don't wait for it to happen later */