Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2935825pxv; Sun, 18 Jul 2021 06:02:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwGijpQKuuIKpFW6FPTWuJlrdXETskiOnJZUCxhMxZHtv9P7AauaJQuv37jkL7qtG50GxQd X-Received: by 2002:a05:6512:321c:: with SMTP id d28mr14907432lfe.203.1626613338638; Sun, 18 Jul 2021 06:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626613338; cv=none; d=google.com; s=arc-20160816; b=I4Gpc05dlb76uFREEfTMqZS1eP5PzCsfB3340SUx/40ujQIHJd9fkPSYfbFhQ/7IFP 7cFeEm0zZxhU7YOkVyDoiW4nKy9YaLACDLqsDhINiRS/UAN5QGS4LNtap3nmnPHC+tyB eKefZMPJylXixuk3F2zgY0tGZAOZhk86gwd/Zc0zV/Eh6bPCC4VeVW/mT25TMlNixG91 W6i9009loyCwEIWEesroPM7kbkYg3f0L9+NmOMUDqGuQIDc08sRwdM+8g2W1VE7mQijv 5pkym/p44kAN/Or7UOq9Axdw/tIehGPHtoLS19VW9ehqUVEED/yKvDISyy1ehE/losk8 HsJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bSHPvZPfRYSth2tUS+kE5c7yrjHQorfQj9Klu2G123E=; b=LNiXXh4ak8hklbvqp4kHMavjxb8Gm6NHZUza7rm/ABR/iD7YIdyrKqeHS3vfOrN39d INF4RB3SxImo1uopMwGNX7+25N0nn6MeJyf8GOUINvIIwNuU3zHULSz5CrOlwz6E/xyH LG2mqCue0hay4h41yLE3S7NNM/boKsK9Vmagpt6W+a87E7Knc+lvbg1Fsq/BUGnZe+Wf MYVZaD+TX1UvD1QovKX6rnV8rRTCunrjF9A96k1g1+LZToUB5At7IKfY0tbTwWkvvEKu wl8Yxf3jq7GSK3SsOphy7DPfMMc/XboHM4baJ5xa9TX3Y4/uNfprXxvKWOfRHOC+JK6Y TerQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OpqE0H0U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si27626056lfh.307.2021.07.18.06.01.49; Sun, 18 Jul 2021 06:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OpqE0H0U; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233666AbhGRND0 (ORCPT + 99 others); Sun, 18 Jul 2021 09:03:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232859AbhGRNDZ (ORCPT ); Sun, 18 Jul 2021 09:03:25 -0400 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9ED89C061762 for ; Sun, 18 Jul 2021 06:00:26 -0700 (PDT) Received: by mail-pj1-x1033.google.com with SMTP id p14-20020a17090ad30eb02901731c776526so12194737pju.4 for ; Sun, 18 Jul 2021 06:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bSHPvZPfRYSth2tUS+kE5c7yrjHQorfQj9Klu2G123E=; b=OpqE0H0U5nfLqCRHzHbS+ZQGBFRXp+bI+2tX5Dy7QRgE7IvktgkCO7I9dZhm2AKHxP iDiuZWQsDxSkO6e91VDaDww/y1KUEiNSNxeB6HrFz4q8mxeIFX21SrlEzUZ9DM2Gl3Mn XjumSj5KB7+pIVTVUdkDaSC0yM2Itb72Yt6YmkOU5WTamXI1b0vBWzXRtWL/Sa0+/Aem jujlYPO2FTT1fFKPUXlEu1pLbwYqqrG4qjLAldfEw53q2avgQsssPRyyw74B0gVghJyw zrXRsQi00i3vKFv5iqQpwwjBHJqxacVk96dP2s9nh8B458z4BuNAOkHQoiQV0orQFyVD zGPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bSHPvZPfRYSth2tUS+kE5c7yrjHQorfQj9Klu2G123E=; b=hPzjFhthdIK8ii9pBPLZ7NS4Luw36O877bxQopPcpvzs50MCmUYJvSytF4a8i9gfKT fK1uJaSWHXmCcyODmxgAaxJupgtQjgyIq82NWOzKWtGAkVIkPpA4qtq1vBYAl1C64Bsw jZ/ArmKFUsCZRi2JEi1tQLqiLbWRJV/wACFiLNKCypgVwEyp2ufykgCmMAaCm3ld9n94 k70sqX8qLbDW9wbVDt9rx3n7cjJcoelgxB71Y7s1jrzlJvVLhX0L2bvrnC80mQdjGGLn V5I94em3vg+7jZ6HMOcBP1u4Xb3nqGdmnaVBH8Ed26Gymp+1i1XXrW12n076hFgqO8o5 GXqQ== X-Gm-Message-State: AOAM533e3N1TkmnidDIMD5AasGAaRgcUXU7GZSlyHCpZ609wflkoKSWi Zy03CoBeEfqPhdMaSuQMDoE= X-Received: by 2002:a17:902:b717:b029:11a:fae3:ba7c with SMTP id d23-20020a170902b717b029011afae3ba7cmr15048651pls.28.1626613225856; Sun, 18 Jul 2021 06:00:25 -0700 (PDT) Received: from localhost.localdomain ([49.37.52.138]) by smtp.gmail.com with ESMTPSA id n123sm17698981pga.69.2021.07.18.06.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jul 2021 06:00:25 -0700 (PDT) From: Dwaipayan Ray To: joe@perches.com Cc: lukas.bulwahn@gmail.com, linux-kernel@vger.kernel.org, apw@canonical.com, Dwaipayan Ray Subject: [PATCH v2] checkpatch: remove obsolete check for __dev* section markers Date: Sun, 18 Jul 2021 18:30:15 +0530 Message-Id: <20210718130015.8903-1-dwaipayanray1@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit 54b956b90360 ("Remove __dev* markings from init.h"), the check for __dev* section markers in checkpatch is obsolete as no new instances of these markers can be introduced in the kernel. Remove this obsolete check from checkpatch. Signed-off-by: Dwaipayan Ray --- Changes in v2: - Reword commit message as suggested by Lukas https://lore.kernel.org/lkml/CAKXUXMyvOh0GvpEf4uX5iFJYOJLo43tmO16Uf34j4i6XD0vBcg@mail.gmail.com/ scripts/checkpatch.pl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 461d4221e4a4..e29c0961b25e 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -4023,12 +4023,6 @@ sub process { "CVS style keyword markers, these will _not_ be updated\n". $herecurr); } -# check for old HOTPLUG __dev section markings - if ($line =~ /\b(__dev(init|exit)(data|const|))\b/) { - WARN("HOTPLUG_SECTION", - "Using $1 is unnecessary\n" . $herecurr); - } - # Check for potential 'bare' types my ($stat, $cond, $line_nr_next, $remain_next, $off_next, $realline_next); -- 2.28.0