Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp349014pxu; Thu, 3 Dec 2020 01:39:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIY7IXjXg2Wex/D+zilHU6JVQoDgNyh76lMrac5CWKmXQeNQkDDV+8VpdOyiZs2edo8xxF X-Received: by 2002:a17:906:cf81:: with SMTP id um1mr505820ejb.122.1606988389825; Thu, 03 Dec 2020 01:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606988389; cv=none; d=google.com; s=arc-20160816; b=wqAubVGYaJ1bOi8SB3rQMR41hkGXnBzddArzEpNd/6SZfLLnjCa1P3dupO1xxPm7Yl gJUVYYQz2kPOxoKg4118oNOYlbq1Fqwi8DjcUzyJAxWXxjtWlX3p6ue3ObkZ8tpNOE1z 7OiksRDVTzIrBGkcisBuiD9gYxTemWBV0eKnTEjk1g8UTmIFLAumfqRViTzfNeMSp1z8 aHW4KidO9ojWnXE4uQ4eqOPL5Fmm7Jjm5Ob+6bjDGPk9XdK/SOqAz5ndp01HTxD5/a/6 N4Rv9cTQBWHRJ9ylw4VzpKj4FWEIUCL6+qCeS8Fm45yuyTfcNDGHDtldaHU7NPPx25j3 k/yw== 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=h6V2Z6Ay9Kb533oQABEcHkhu3t7oaDyji1uVKbVJrAQ=; b=KtGZHSGwhkoneC3NpljQIYTvLg8bJT/Ck5nIKTGnDnFxh5hVUpQdMDO9uhfT5qrkSZ DKs/dOfe9fVmTJcKQESLz8AbVO0TRmk3vrBEtsCkYY0JHmRnpJuXi88njX15XYmOJpG+ aCdioO01hRu60aIV3/I6HJuspB7IgOwI8X6+o5TkuPJq+bjRps4D27q7MY/emOHTU/5a qul4RxFMNL43iB25NoWQ+mvTsEujM/MxjwbT1D417MuM2q+n0Rr8dLhmTKOhO7Rwc3fB IXs5tPEDAhdlIEPLanRl8dpO4TZwQHwzXosgF5lOoXKjc/uabAzmgsAn1V+pnJ0X+h1T iyog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E0kJZy8B; 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 nt21si696310ejb.739.2020.12.03.01.39.27; Thu, 03 Dec 2020 01:39:49 -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=E0kJZy8B; 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 S2388412AbgLCJfp (ORCPT + 99 others); Thu, 3 Dec 2020 04:35:45 -0500 Received: from mail.kernel.org ([198.145.29.99]:56142 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388301AbgLCJfp (ORCPT ); Thu, 3 Dec 2020 04:35:45 -0500 Date: Thu, 3 Dec 2020 11:34:58 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1606988104; bh=h6V2Z6Ay9Kb533oQABEcHkhu3t7oaDyji1uVKbVJrAQ=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=E0kJZy8BcRUyY3dGn020pigVwcYCSFTBxzvt4Boj5HU+KgOcu45K1fMFIvZEdADT+ Y9aBTqNogF1wnOl6seDkkkFQPR3jdr8KX3LPTK31hiBV+zzWSmyFTqrTo//+BiAccN f883ZgarKaGGUP+4hz9PEUDVgCkwHWHpNf+YiLNmq9X/7oj4lowwXAkqOndKCTHC// /oPsJRIPB/LIP+f36t6QAeyzi0lWjtKPtv2pIxwL9Dsz9sDF/1iM4zwauA2l1Yq8tV KCnZzlAM9Bm0uELMu4kC2gPWO9obIMJL8nKVYFPkF/sn34ZpfjIkws0+YQraf5vEv4 2udRwrj4Q56TQ== From: Leon Romanovsky To: Dan Williams Cc: Vlastimil Babka , LKML , "ksummit-discuss@lists.linuxfoundation.org" Subject: Re: [Ksummit-discuss] crediting bug reports and fixes folded into original patch Message-ID: <20201203093458.GA16543@unreal> References: 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 Wed, Dec 02, 2020 at 08:02:27PM -0800, Dan Williams wrote: > On Wed, Dec 2, 2020 at 3:44 PM Vlastimil Babka wrote: > > > > Hi, > > > > 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:"? Thanks