Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C06A3C56202 for ; Tue, 17 Nov 2020 04:29:51 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 469902463D for ; Tue, 17 Nov 2020 04:29:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 469902463D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=perches.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-kernel-mentees-bounces@lists.linuxfoundation.org Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C8F5F85DF1; Tue, 17 Nov 2020 04:29:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6vvk3TiWXWse; Tue, 17 Nov 2020 04:29:50 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id 629BB85DEC; Tue, 17 Nov 2020 04:29:50 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4DE47C0891; Tue, 17 Nov 2020 04:29:50 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 5E14FC07FF for ; Tue, 17 Nov 2020 04:29:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 49073203DE for ; Tue, 17 Nov 2020 04:29:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XKSZ06nkYqbg for ; Tue, 17 Nov 2020 04:29:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtprelay.hostedemail.com (smtprelay0153.hostedemail.com [216.40.44.153]) by silver.osuosl.org (Postfix) with ESMTPS id 60EDF203A4 for ; Tue, 17 Nov 2020 04:29:48 +0000 (UTC) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay04.hostedemail.com (Postfix) with ESMTP id 431E8180A7FD8; Tue, 17 Nov 2020 04:29:47 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: love12_3c02c282732e X-Filterd-Recvd-Size: 1902 Received: from XPS-9350.home (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf13.hostedemail.com (Postfix) with ESMTPA; Tue, 17 Nov 2020 04:29:46 +0000 (UTC) Message-ID: <791b3213aaabd5ecccc9d3f6dd0e8ee420611dbd.camel@perches.com> From: Joe Perches To: Aditya Srivastava , Andrew Morton Date: Mon, 16 Nov 2020 20:29:45 -0800 In-Reply-To: <1b9c5353c6318cc7a4e013886012739e6627d82d.camel@perches.com> References: <20201117040501.21914-1-yashsri421@gmail.com> <1b9c5353c6318cc7a4e013886012739e6627d82d.camel@perches.com> User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Cc: linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [Linux-kernel-mentees] [PATCH v3] checkpatch: add fix option for MAINTAINERS_STYLE X-BeenThere: linux-kernel-mentees@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-kernel-mentees-bounces@lists.linuxfoundation.org Sender: "Linux-kernel-mentees" On Mon, 2020-11-16 at 20:26 -0800, Joe Perches wrote: > On Tue, 2020-11-17 at 09:35 +0530, Aditya Srivastava wrote: > > Checkpatch expects entries in MAINTAINERS file in a specific order and > > warns if the changes made do not follow the specified order. > > > > E.g., running checkpatch on commit b33bc2b878e0 ("nexthop: Add entry to > > MAINTAINERS") reports this warning: > > > > WARNING: Misordered MAINTAINERS entry - list file patterns in > > alphabetic order > > +F: include/uapi/linux/nexthop.h > > +F: include/net/netns/nexthop.h > > > > Provide a simple fix by swapping the unordered lines, if both the lines > > are additions (start with '+') > > On second thought, nak. > > This fails when there are 3 consecutive misordered lines. > > SECTION > F: c > F: b > F: a > btw: scripts/parse-maintainers.pl already does this reordering properly so this particular --fix addition isn't all that useful. _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees