From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,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 2F0F6C41604 for ; Tue, 6 Oct 2020 20:09:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D65FF20760 for ; Tue, 6 Oct 2020 20:09:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727168AbgJFUJs (ORCPT ); Tue, 6 Oct 2020 16:09:48 -0400 Received: from smtprelay0160.hostedemail.com ([216.40.44.160]:56374 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725962AbgJFUJs (ORCPT ); Tue, 6 Oct 2020 16:09:48 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 5607F100E7B4C; Tue, 6 Oct 2020 20:09:47 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: event64_5d11b9e271c9 X-Filterd-Recvd-Size: 2155 Received: from XPS-9350 (unknown [172.58.35.183]) (Authenticated sender: joe@perches.com) by omf15.hostedemail.com (Postfix) with ESMTPA; Tue, 6 Oct 2020 20:09:45 +0000 (UTC) Message-ID: Subject: Re: [PATCH v4] checkpatch: add new warnings to author signoff checks. From: Joe Perches To: Dwaipayan Ray Cc: linux-kernel-mentees@lists.linuxfoundation.org, Lukas Bulwahn , linux-kernel Date: Tue, 06 Oct 2020 13:09:42 -0700 In-Reply-To: References: <20201006185114.168358-1-dwaipayanray1@gmail.com> <8553d6679f97ae9d285a9ffd61198f5e3c11dc35.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2020-10-07 at 00:31 +0530, Dwaipayan Ray wrote: > On Wed, Oct 7, 2020 at 12:25 AM Joe Perches wrote: > > On Wed, 2020-10-07 at 00:21 +0530, Dwaipayan Ray wrote: > > > The author signed-off-by checks are currently very vague. > > > Cases like same name or same address are not handled separately. > > > > > > For example, running checkpatch on commit be6577af0cef > > > ("parisc: Add atomic64_set_release() define to avoid CPU soft lockups"), > > > gives: > > > > Aren't you still missing emitting an message for cases like > > > > From: "J. Random Developer" > > [...] > > Signed-off-by: "J. Random Developer" (BigCorp) > > > > Where a comment does not match? > > > > > > Yes, messages for comments were not emitted previously too > cause the same_email_address() function just matches name > and email (discarding name comments and email comments). > > So should I add it to this patch, or should I work on it in a different > patch perhaps because it involves change on another subroutine? I suggest adding it to this patch.