Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp383704pxu; Thu, 3 Dec 2020 02:43:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdcAqi6xDn/yVbDOr2nDKLl28DnTWC5JVMNwXoqJjFSl8MlyXL2J3BRUxM3lOGw8+R7h28 X-Received: by 2002:a17:906:604e:: with SMTP id p14mr1980783ejj.515.1606992209645; Thu, 03 Dec 2020 02:43:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606992209; cv=none; d=google.com; s=arc-20160816; b=u/O1gzTXw+F46YJ/MfxFGSht5MXHBjzVuvAcHVg12h9zRCpcuXqt7QGqYdYdzzSzR+ f+8uo4XVoJ4aT24b6VO9yrjk0q5dzoaDfvwxN8lPn5IcK8PYi0CrKenosbYDCO3fCrPy FpmNxhnck+VzwJ8PXvkZEtdWCL4x4Mo0l/UlYt9hIDrgab3no/ylqjxep5W3TBu+fG50 mUxZofQIOxDerDB3jS7zKL9Z6MGoVOKkRmFORR/qBw/YdWYOjCqbarz03IGEfjRstKMN plfAzrlt2qjvbPtCzaVU6KcJALEN8nts7dbnZmoHCc8CWYY/iEyWwSUEN6T4h4vxGnHU 02Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=89lGfpluJEKd3IFWqaoBkyV8i5qJJwVfacRNbxVk9H4=; b=wofeFCEkYCVUvjkzBD3yyd7jDDe/BiAP2ielcOTj9mKStQ2DNQ5sl+y73r2inA3wOZ AgQGXdKD5P22bvWFxYKlMif5qX0Fto0FCPkq64rgnk7OSzP03UCXu+UxiTM7pgbyhyug hTT0kM1FodrtGYIjp325K6TyrkYkEyjpuTKU/AOTFFZvFlYUDCemlWz88gcr3f+sbwFj OEp7ZddsN2RDfRJt5f9OtAg3anCmSnCNVVXA4/Bwn3rK23w1R0vQY/MpNcxi6NRyh/ux cEtEU2hsXNl4Osl1NQFBNuY2Gyqtmu+nVbNY9o6tQVbVhFmTDF+34UDiN1/cl2z2bF45 epbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E5dDR8xO; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id re10si974215ejb.85.2020.12.03.02.43.05; Thu, 03 Dec 2020 02:43:29 -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=@kernel.org header.s=k20201202 header.b=E5dDR8xO; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388608AbgLCKld (ORCPT + 99 others); Thu, 3 Dec 2020 05:41:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:38880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387763AbgLCKld (ORCPT ); Thu, 3 Dec 2020 05:41:33 -0500 Date: Thu, 3 Dec 2020 12:40:47 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1606992052; bh=dD1tNfbjy4g7n5/kwWrtw2G3dq9qRPl92SifAh9QCfs=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=E5dDR8xOCaYy4R6xs3EFeMHJBUtGRGTOCDCYgSGR7zJz20/fUXrV9h7EBQiD1Hqn2 AKb6Ftvub1dVIEx+Ijsei3q+M52I4JVgMNj2XFvFRaBtqNjOxuM3fTWRIC37Nn0TwS Ocw/tN8Olc+TZmdc+tR636MJTzmzRHxBWtzTGbEjdNrbaScIxNY+gbMZ51Ikq3MKVc s6KEoKn+P9hlDOj/EOxhW64+B7zpBjO95UHH607GHnt0Ia1C8McZUEhxWRFvKIKSj3 ZsDmP0u1P0LvVkWzBWrrWsikwvgg2kGbx0jschderVlJBAYAg/YvmuyA4BOWHkkYTg ZK/KyF3cSfpJA== From: Leon Romanovsky To: Geert Uytterhoeven Cc: Dan Williams , "ksummit-discuss@lists.linuxfoundation.org" , LKML , Vlastimil Babka Subject: Re: [Ksummit-discuss] crediting bug reports and fixes folded into original patch Message-ID: <20201203104047.GD16543@unreal> References: <20201203093458.GA16543@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 03, 2020 at 10:36:56AM +0100, Geert Uytterhoeven wrote: > On Thu, Dec 3, 2020 at 10:35 AM Leon Romanovsky wrote: > > On Wed, Dec 02, 2020 at 08:02:27PM -0800, Dan Williams wrote: > > > On Wed, Dec 2, 2020 at 3:44 PM Vlastimil Babka wrote: > > > > there was a bit of debate on Twitter about this, so I thought I would bring it > > > > here. Imagine a scenario where patch sits as a commit in -next and there's a bug > > > > report or fix, possibly by a bot or with some static analysis. The maintainer > > > > decides to fold it into the original patch, which makes sense for e.g. > > > > bisectability. But there seem to be no clear rules about attribution in this > > > > case, which looks like there should be, probably in > > > > Documentation/maintainer/modifying-patches.rst > > > > > > > > The original bug fix might include a From: $author, a Reported-by: (e.g. > > > > syzbot), Fixes: $next-commit, some tag such as Addresses-Coverity: to credit the > > > > static analysis tool, and an SoB. After folding, all that's left might be a line > > > > as "include fix from $author" in the SoB area. This is a loss of > > > > metadata/attribution just due to folding, and might make contributors unhappy. > > > > Had they sent the fix after the original commit was mainline and immutable, all > > > > the info above would "survive" in the form of new commit. > > > > > > > > So I think we could decide what the proper format would be, and document it > > > > properly. I personally wouldn't mind just copy/pasting the whole commit message > > > > of the fix (with just a short issue description, no need to include stacktraces > > > > etc if the fix is folded), we could just standardize where, and how to delimit > > > > it from the main commit message. If it's a report (person or bot) of a bug that > > > > the main author then fixed, preserve the Reported-by in the same way (making > > > > clear it's not a Reported-By for the "main thing" addressed by the commit). > > > > > > > > In the debate one less verbose alternatve proposed was a SoB with comment > > > > describing it's for a fix and not whole patch, as some see SoB as the main mark > > > > of contribution, that can be easily found and counted etc. I'm not so sure about > > > > it myself, as AFAIK SoB is mainly a DCO thing, and for a maintainer it means > > > > something else ("passed through my tree") than for a patch author. And this > > > > approach would still lose the other tags. > > > > > > > > Thoughts? > > > > > > How about a convention to add a Reported-by: and a Link: to the > > > incremental fixup discussion? It's just polite to credit helpful > > > feedback, not sure it needs a more formal process. > > > > Maybe "Fixup-Reported-by:" and "Fixup-Link:"? > > And "Earlier-Review-Comments-Provided-by:"? > > How far do we want to go? I don't want to overload existing meaning of "Reported-by:" and "Link:", so anything else is fine by me. I imagine that all those who puts their own Reviewed-by, Signed-off-by and Tested-by in the same patch will be happy to use something like you are proposing - "Co-developed-Signed-Reviewed-Tested-by:" tag. Thanks > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds