Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1351511pxu; Mon, 23 Nov 2020 19:45:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyCAvB9h3C+VUcxbe84kLAG4a5LDgVkbYi6RagtLBWf2RgxLoejG/L87mUU5yOVf5FLiDqm X-Received: by 2002:a05:6402:22af:: with SMTP id cx15mr2078402edb.207.1606189532973; Mon, 23 Nov 2020 19:45:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606189532; cv=none; d=google.com; s=arc-20160816; b=wr5wInrJpCNcStaAxg/Ysm3r/5iJjpoolAdCEN2mrISl/GMj+ZQNXuzLt5/I/5N+HL MrN4RguX4gKSFiVXkpzCwfZBfXCFmN0em0k/qSPOZvJrSRZUHhTMYdSZ+n4essfZNdbS GpOvU9y5OpGThk9RDKvsGmK2/ZG0+ICG+lWkUJOz2nMzJPHbyYz4tUlQ4/6lQFeFP2GU mdz/Fw5NY6ar7zjVQrXGDg7OkcsRXOBCtW6f3t59GP9MRQhA0kb6aSA5ZE+o9rFn00K0 pQFxIbw+4ViyS6isxUBfmMFc9Z3G1X+o2IycBtstTe7ujaXG4ncPfPETOLwAAc02/TZG +eXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Cfq/nfp3VIzB8kJ/4Aoe3//TNwxiq0kRsB2O4wXa0RE=; b=boJHQqQTKdSgsz3DS8rfe4BOIDKluYD9dY80rJGoK4b0uHjIe0bbmhAUES7CMmX5R4 dfRVftw4OVpGv6TDvMvWdvnERNn5cB+FOnI4Q8luo7K/ToAhxMc/kHeu6FNQVm15BgjP 9dwPOblxbziaMR1vt4MFYiwHTYyBx/otEjFwgoraDHclnTumLUMCUc1p6/6tsv1gyqN9 iPbceirhwYO/vDy9QLka/n4/quKtw0X5ycDQG1zyX6owvOKdU9ORXWCydxbD0nSEImLg NzS7u6X2DCoxMLT8/SCc1Rzb3Ie/2geViuxvh51mnZBGjCQdTZ6N1P26Fa0f6dfurNNY ZSbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IXunGBT9; 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 j7si8667048ejm.496.2020.11.23.19.45.10; Mon, 23 Nov 2020 19:45:32 -0800 (PST) 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=IXunGBT9; 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 S1728704AbgKXDMe (ORCPT + 99 others); Mon, 23 Nov 2020 22:12:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728106AbgKXDMd (ORCPT ); Mon, 23 Nov 2020 22:12:33 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C3B8C0613CF for ; Mon, 23 Nov 2020 19:12:33 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id 5so9938923plj.8 for ; Mon, 23 Nov 2020 19:12:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Cfq/nfp3VIzB8kJ/4Aoe3//TNwxiq0kRsB2O4wXa0RE=; b=IXunGBT9lpxE1Gy8krkmLoqv/tMttjxnyEzpn5GnDMS6x2sVRfT6iaM2mTyERBcwpO JGqN3fvtmVJLEcMLVtGbIy97fQ+C5/poj8rqzut2+zr418EkXROU00+uyjUUNbcRtUxX Jn+LquVXjlOau82ObZGD3hyah+OELI2ty5PB1IcscqJUcfyVzokfWifzPr64EZo0djvi Uk7tnsqigFBsVtAU4r+PexSBl+Eh5lZPosiUCOqGz18y9owFqD3s50AhovMrCx3ZoIPE m7MlZqWq4EMzbPR9X9XVjjQ03iNSFrm240qaK0m7ZQQ0DjbvWfs9EQIetii5VEwhwFwr lF4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Cfq/nfp3VIzB8kJ/4Aoe3//TNwxiq0kRsB2O4wXa0RE=; b=ssV/D4jdvLYW9P/b78NNdJnhLXgHMnVdeYMum4NHzCydvbeFfSlJotb8zh/Fge7nF/ B2Ans86unWMu0q6J9PZmD8EAH2dzROx5sv8lecstRFZqc8BxhPC7fv8OED+riaB4bdLz k4gR/MbDS9tbN1lQBaceyifkDEA/9Rnklzhk3e/J/9/iivAYP85WA6aK5PmXYonhs638 soCX41qYCfuLZDgodgnuo+vCL8Dm4nAtARc0W3g4R1ydBHZIOGXh63tj/lAo/04QbHIy bj2A+SF/tqIzAz5zDsL7YXHXoOB92chxMVOROErT0adqbRgZOZE1eDGlfpzpoMKNugxv M/XQ== X-Gm-Message-State: AOAM533CIWH87A10IDScN1rhr9erT38rakrlRv0PPtLAotJPuCVEr/nO /aL3xOnPy0KaDvTx4nsvBJtqEBc0wHgobQ== X-Received: by 2002:a17:902:eaca:b029:d6:807e:95b8 with SMTP id p10-20020a170902eacab02900d6807e95b8mr2304073pld.33.1606187552480; Mon, 23 Nov 2020 19:12:32 -0800 (PST) Received: from ?IPv6:2402:3a80:422:4fb2:189e:bfca:2836:414f? ([2402:3a80:422:4fb2:189e:bfca:2836:414f]) by smtp.gmail.com with ESMTPSA id i4sm11544555pgg.67.2020.11.23.19.12.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Nov 2020 19:12:31 -0800 (PST) Subject: Re: [PATCH v4] checkpatch: add fix and improve warning msg for Non-standard signature To: Joe Perches Cc: lukas.bulwahn@gmail.com, linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org References: <20201123172430.12854-1-yashsri421@gmail.com> <148208ef84344069a6c95d3f686a86ca1199be90.camel@perches.com> From: Aditya Message-ID: <6b3feb74-5f1d-ee1a-2e1a-8a5f803bed63@gmail.com> Date: Tue, 24 Nov 2020 08:42:25 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <148208ef84344069a6c95d3f686a86ca1199be90.camel@perches.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23/11/20 11:03 pm, Joe Perches wrote: > On Mon, 2020-11-23 at 22:54 +0530, Aditya Srivastava wrote: >> Currently, checkpatch.pl warns for BAD_SIGN_OFF on non-standard signature >> styles. > > I think this proposed change is unnecessary. > >> This warning occurs because of incorrect use of signature tags, >> e.g. an evaluation on v4.13..v5.8 showed the use of following incorrect >> signature tags, which may seem correct, but are not standard: > > Standards are useful, but standards are not constraints. > >> 1) Requested-by (count: 48) => Suggested-by >> Rationale: In an open-source project, there are no 'requests', just >> 'suggestions' to convince a maintainer to accept your patch > > There's nothing really wrong with some non-standard signatures. > And I think leaving humor like brown-paper-bag-by: is useful. > > Just telling people that they are using a non-standard signature > I think is enough. > Hi Joe Thanks for reviewing. We were also planning to provide fix for certain non-standard signature warnings due to typo mistake in the signoffs, using edit distance approach. These signatures were probably not intended by the user. E.g. for signatures like: 'Reviwed-by:', 'Singed-off-by:',etc. Here is the list I have generated for non-standard signatures with edit distance of 2 or less along with their count (over v4.13..v5.8). (Among total 539 Non-standard signature warnings, warnings caused by typo mistakes are 85 in number): https://github.com/AdityaSrivast/kernel-tasks/blob/master/random/non_standard_signature/less_than2/signs_freq.txt This is the predicted correct signoffs we are getting (for less than or equal to 2): https://github.com/AdityaSrivast/kernel-tasks/blob/master/random/non_standard_signature/less_than_3.txt The reason I have chosen 2 as threshold is that count 3 onwards, the results start deviating. List for edit distance 3: https://github.com/AdityaSrivast/kernel-tasks/blob/master/random/non_standard_signature/equal_3.txt What do you think? Thanks Aditya