Message ID | 20230331041413.1908787-1-dmitry.baryshkov@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp315989vqo; Thu, 30 Mar 2023 21:37:32 -0700 (PDT) X-Google-Smtp-Source: AKy350Z/THJrS13p8W6Uk457NG5Gbqy6Gjvo8GYDsqWyx/HUyQrv2NBz87cdSJCACDknsuPhRMtC X-Received: by 2002:a17:906:1514:b0:92b:ae6c:23e7 with SMTP id b20-20020a170906151400b0092bae6c23e7mr25179105ejd.56.1680237452005; Thu, 30 Mar 2023 21:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680237451; cv=none; d=google.com; s=arc-20160816; b=tZPv3rlOau1TxamDEG806e4G5x+QHX0rp/tr7rsW309obdgLPiee8HKEdZhQ6nq6bA 4lpgG1FDUr4/igW7zilQDqcDR8GQlrJQIrklDri3F5u5ZdDhhA9IsUCxatTBd8rB6coN lqCDbRpUQ2ESXPIGq2I/OEGDbmi+xE4cmo8ARYPHIQCNy+KTiBLz2eIZI38Bhr180NXr B183W/2vQ8v/+eLUX2AerIo5uP6A4M2BIoZ3ltQT+XzNLZz0bRJO7l5qu7JDhN8PY3a0 JDiQ2mBClTvIq8XX02eYVPVzii2gzzSyLR4hdTfdU6HTDYFbnojfykqaZRt7pw42GeBD SCTw== 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=fuL6F8Lmv9Dt1yjSJ3G7sSdjffwXcfbl1vKoo3CVilA=; b=zr3SfkoL1Z0F7XQyGi+S1oRQgU+XpqPNFOP2lp0tEAT2CXZjT5vd1CjISQo84zN9LB AUjC9rVbEgQoSG9LoJibsudH66zxtZLWK2Q9xe2smfoqnmvvgqQRONAsytkGCxKN015L fGo9HQ3cr8dFn6oaQnf+ssd+oJTEV43g/xAvC6ciCY5+n1clIrylFKnFf3JpbHg9mq+6 SbUSGw7Kn4ZBjbvtikNfkZBuHuiv9S2BVZxBkeBk3x5C7aWojU/cKuYya7l0CTIrGjAm ianCnRsG9fX6RPUF4d9+57uFziXW2o8F+tJ/VfkwR6do4pXsZCCMLIAzz9uX8Qpp3KBp CDUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="EgKhzO/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020aa7c608000000b004c698b50187si1103577edq.335.2023.03.30.21.37.07; Thu, 30 Mar 2023 21:37:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="EgKhzO/q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229942AbjCaEOU (ORCPT <rfc822;rua109.linux@gmail.com> + 99 others); Fri, 31 Mar 2023 00:14:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58456 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjCaEOS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 31 Mar 2023 00:14:18 -0400 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D93CF11EBD for <linux-kernel@vger.kernel.org>; Thu, 30 Mar 2023 21:14:16 -0700 (PDT) Received: by mail-lj1-x235.google.com with SMTP id a11so21752219lji.6 for <linux-kernel@vger.kernel.org>; Thu, 30 Mar 2023 21:14:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680236055; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fuL6F8Lmv9Dt1yjSJ3G7sSdjffwXcfbl1vKoo3CVilA=; b=EgKhzO/qEiMhZk22PfTO/XpwTNEp9fE39mhkNQ2s+rxpsWb+Kq18zSbBPUfAJKBpW7 at6t4LyDfQNSkltnlyiRODtyTQxdoPpeWvEI3XEGOLl5uBSPSf3kVf2cKazb1JMkml+U OPmjGJknf2fDKB8VuB4dIK8ZEvb7yZ6p/uaDz8WCniMVLkgV42DxIye2t5PtIvG+JvS6 Al5X+jURwQuVB1mnc2sZD9srLlgaCdlnBtn3DyQnwGND5iu/D6X3KZsVEsmepMV23Eg0 d/f5r4A680t9o1Snke6BbtZBI3HrbDW16PGBh1C87EJCY8/XZdpyQCP9FPQ/+raQBOq4 edog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680236055; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fuL6F8Lmv9Dt1yjSJ3G7sSdjffwXcfbl1vKoo3CVilA=; b=PuNRiOVHtU+xX1SD99NtgW5Ijt9ARLiVPzrIQ1gCZTAwDdH49NO89+2xjSVvwsE9oI CLd8hBW+Mh+hzz+hWaU+qImgi+u6rXMgvOXWSl97k5TD6CxM+0SalgrTxPxf5+5j89Az t1IPbi1go5tafrht1QqICwRIKI9kIxy+FxBpNfq1PPv8wfLhbpXz1gMzmSMLYOS4h6jH Xq3vA3P00LCLzd6Je3hIKvivQinnH4f/vycKsTkKTmvP/aH7A/J8g/X2m2txhwySNEdI 1gj/XOnM55OnTW0uSjLv+32NeOdfhH/v6MtVz6Q9+2595xfXFW//FrJkdI9uBR7iOBXF LZyA== X-Gm-Message-State: AAQBX9eOirpV66YN6Js3jV+GIIeJbnTQ6xWog+itHSNYGvZdDlacW5cv aSap8vFon5etG+iclVhH5zR4EQ== X-Received: by 2002:a2e:9b50:0:b0:298:ab4c:a946 with SMTP id o16-20020a2e9b50000000b00298ab4ca946mr7413533ljj.37.1680236054735; Thu, 30 Mar 2023 21:14:14 -0700 (PDT) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id t2-20020a2e9d02000000b002a5f97eaef0sm181972lji.126.2023.03.30.21.14.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Mar 2023 21:14:14 -0700 (PDT) From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> To: Andy Whitcroft <apw@canonical.com>, Joe Perches <joe@perches.com>, Dwaipayan Ray <dwaipayanray1@gmail.com>, Lukas Bulwahn <lukas.bulwahn@gmail.com> Cc: linux-kernel@vger.kernel.org, Rob Clark <robdclark@gmail.com> Subject: [PATCH RESEND] checkpatch: move duplicate sign off to separate warning type Date: Fri, 31 Mar 2023 07:14:13 +0300 Message-Id: <20230331041413.1908787-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761856666297757648?= X-GMAIL-MSGID: =?utf-8?q?1761856666297757648?= |
Series |
[RESEND] checkpatch: move duplicate sign off to separate warning type
|
|
Commit Message
Dmitry Baryshkov
March 31, 2023, 4:14 a.m. UTC
Some maintainers prefer to allow duplicate signatures if that provides
additional details about the patch flow. E.g. if the original patch
author pulls the patch from the patchwork into the kernel branch, this
can result in duplicate SOB tags from him, however this reflects the
patch flow (one SOB for being the author, one SOB for pulling the patch,
adding (and maybe fixing) tags and pushing the patch further.
To facilitate easily handling this kind of warnings, separate duplicate
SOBs into the separate warning class ('DUPLICATE_SIGN_OFF').
Cc: Rob Clark <robdclark@gmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
This patch was initially sent half of a year ago. It received the only
comment from Joe, "I think that's poor process, but whatever..."
Could you please consider this patch for inclusion or possibly advise on
how to modify our process or why this is considered a poor practise (if
that matters, we are talking about drm/msm).
---
scripts/checkpatch.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index bd44d12965c9..b30a868375e1 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -3134,7 +3134,7 @@ sub process { $sig_nospace =~ s/\s//g; $sig_nospace = lc($sig_nospace); if (defined $signatures{$sig_nospace}) { - WARN("BAD_SIGN_OFF", + WARN("DUPLICATE_SIGN_OFF", "Duplicate signature\n" . $herecurr); } else { $signatures{$sig_nospace} = 1;