Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4161990pxu; Wed, 9 Dec 2020 09:49:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyP3u7ebbP5Mrd9p8EJEhKXGmdH1HJQ8CfFKoonL8/Ih/jBS4n3zjsxoV/ro6DuhOHhKGNr X-Received: by 2002:a17:906:2358:: with SMTP id m24mr2965146eja.198.1607536142461; Wed, 09 Dec 2020 09:49:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607536142; cv=none; d=google.com; s=arc-20160816; b=v0G0DriXuvqRw46bhhf4A54Q89uFI9uYg5D9PzSkRXhD37YXSQOnrRFo5DawgImgOG NBP4ilQp70mn5a0p5QNzSGJxO43vXSliJMD7x6utI2YaToeT34yLDhV2FcEjZqAhbDJD 82Eu9nT/XBiM8W4cOP8GanqFEB1RS77IjkxYDUtK1J1LFocNsdBicZsLIO/THfsYp+Ku EczCZBxZmY0GHMcO33BOrt3tjq8swoi+lO+zPeJeEJaKF5o+F5P3DNxautc6byy2Zmfw 3OOp5pFi9N2OCPDXU4+M2na2jcDGQDS8MmXZo39N7VSGvxec3cHH1kDOQA7IR7vCpSAq efWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=xRUcWLPWD+MQWDys7NMmqsjgoWT2S+ad/7Jyb66SJSU=; b=Ogek5xzdUjZPKkQEYqfykgZNW+HGCIPORvPYrKn1Ocec+IRVQDRGZ5JyqNVqr91o0d aTn1/ktDDA2lOlXXELyznIbpI57YVhXXJRl2kRwIsxtFmP55PZRhjiII8T1WsG2seuFs vSyOqF4t+Ou8OBiEYsQpQ03ZzAzv6K+UuNAxzUVvgx5SJr8rtiE2CNdfr82FCfxgDQr4 GObmSDAhKj8ht8a/igaNwDYXG7O4xu04iH/l5sxgaGAmtiZwX7g2pFHaXAxol0te71cR nDOKmT5o8Hi2mjLR8i+HdjX+THx8bgnZ83ZrHwKhKTfqI1tLsMN5UvEwQFLLW69acnTr 4nVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=WlF9OJyF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si1083299ejr.608.2020.12.09.09.48.36; Wed, 09 Dec 2020 09:49:02 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=WlF9OJyF; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732558AbgLIRp6 (ORCPT + 99 others); Wed, 9 Dec 2020 12:45:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732775AbgLIRpt (ORCPT ); Wed, 9 Dec 2020 12:45:49 -0500 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACE1CC0613CF for ; Wed, 9 Dec 2020 09:45:08 -0800 (PST) Received: by mail-ej1-x643.google.com with SMTP id jx16so3334050ejb.10 for ; Wed, 09 Dec 2020 09:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xRUcWLPWD+MQWDys7NMmqsjgoWT2S+ad/7Jyb66SJSU=; b=WlF9OJyFh/O8EkJLwzVnnIo9dtTlZZW6GJsxk7N6sKkFt73msw8+tS0wNJe/HyIjv+ ANpjomLmo8OSqu6uvFvb8UYZ1Otygxl1gpx8wc4hmQMYi3+oX9cgBNUKb4cHItxzuggU QNgCoeohSgbajw9jo06JJVcn9B5tGPJNV+mif29nki1tehPOjfrKJTCokdD+WQH+jTRe WS7z9tTD7EwbX+GReWZIRttk/Kxm8hcNhjNm1HXVIMQEQUW0hGdY/l3N+Jj1n3WK13OC WGpBSgfxHbgIeEnTFLSRt2LwnEchHBYUgyVUaH9/xZLARlXyYw+WNhda+t0sE0qbZ4a3 o+vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xRUcWLPWD+MQWDys7NMmqsjgoWT2S+ad/7Jyb66SJSU=; b=FXWfteFUTV8TGs1vPGGIkdF+Dcj0ODoX3dHDyL5sf829Jtf9fT4c0K5xJ7RNah1BVU 8tBKNlAbkktCDE5mydMvDLf9KjHVF3UGvayusykPWAyAPGTFkBrJDOOswmI//TIoTs1B D6QMFT4XwtR2mZ5Rnh2spRgs1+/pvbvWgp48h2ooISYREhjiCqfSIKoRzBSSxfRDUeQP 9EoWe/Y54GPivt4tU9kS6gN829MAawUu2zHcmUt6DBY9vhkDPPp3pe+wE5FPySWr3jdm r2UdjdLXn9dMjWiXePIEY/qeZtl9XRacoDTLGBqt7F0E0mVoXipUNCzCfExIN7JNhUgh X67Q== X-Gm-Message-State: AOAM532Zt3aXHhxpkOk535kmUYofxjeTD361VYgY6x2G4oWdqgYMPOLp cseHxny3pwYYv6GqBy0WpHKGi/5e6wwoEoi0fIFXbUUFB2E= X-Received: by 2002:a17:906:a29a:: with SMTP id i26mr3008666ejz.45.1607535907410; Wed, 09 Dec 2020 09:45:07 -0800 (PST) MIME-Version: 1.0 References: <20201203093458.GA16543@unreal> <20201203104047.GD16543@unreal> <202012081619.6593C87D3@keescook> <13d04c4cc769ebd1dd58470f4d22ada5c9cd28e7.camel@perches.com> <20201209075849.GD2767@kadam> <42a599d0f5e4c677648b5e6de8083feb8723a558.camel@perches.com> <20201209103026.GF2767@kadam> In-Reply-To: <20201209103026.GF2767@kadam> From: Dan Williams Date: Wed, 9 Dec 2020 09:45:04 -0800 Message-ID: Subject: Re: [Ksummit-discuss] crediting bug reports and fixes folded into original patch To: Dan Carpenter Cc: Joe Perches , Vlastimil Babka , Greg KH , LKML , "ksummit-discuss@lists.linuxfoundation.org" , Colin Ian King Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 9, 2020 at 2:31 AM Dan Carpenter wrote: > > On Wed, Dec 09, 2020 at 12:54:30AM -0800, Joe Perches wrote: > > On Wed, 2020-12-09 at 10:58 +0300, Dan Carpenter wrote: > > > On Tue, Dec 08, 2020 at 09:01:49PM -0800, Joe Perches wrote: > > > > On Tue, 2020-12-08 at 16:34 -0800, Kees Cook wrote: > > > > > > > > > If not "Adjusted-by", what about "Tweaked-by", "Helped-by", > > > > > "Corrected-by"? > > > > > > > > Improved-by: / Enhanced-by: / Revisions-by: > > > > > > > > > > I don't think we should give any credit for improvements or enhancements, > > > only for fixes. > > > > Hey Dan. > > > > I do. If a patch isn't comprehensive and a reviewer notices some > > missing coverage or algorithmic performance enhancement, I think that > > should be noted. > > > > > Complaining about style is its own reward. > > > > > > > > I believe I've said multiple times that style changes shouldn't require > > additional commentary added to a patch. > > > > I'm not making any suggestion to comment for style, only logic or defect > > reduction/improvements as described above. > > How about we make the standard, "Would this fix be backported to stable?" > > > > > > Having to redo a patch is already a huge headache. Normally, I already > > > considered the reviewer's prefered style and decided I didn't like it. > > > > Example please. We both seem to prefer consistent style. > > > > For example, if you have a signedness bugs: > > ret = frob(unsigned_long_size); > - if (ret < unsigned_long_size) > + if (ret < 0 || ret < unsigned_long_size) > vs: > + if (ret < (int)unsigned_long_size) > goto whatever; > > To me, whoever fixes the bug gets to choose their prefered style but > maybe some reviewers have strong feelings one way or the other. > > > > Then to make me redo the patch in an ugly style and say thank you on > > > top of that??? Forget about it. > > > > Not a thing I've asked for. > > > > > Plus, as a reviewer I hate reviewing patches over and over. > > > > interdiff could be improved. > > > > > I've argued for years that we should have a Fixes-from: tag. The zero > > > day bot is already encouraging people to add Reported-by tags for this > > > and a lot of people do. > > > > It's still a question of what fixes means in any context. > > > > https://www.google.com/search?q=%27fixes-from%3A%27%20carpenter%20site%3Alore.kernel.org > > gives: > > It looks like there aren't many great matches for your search > > > > No, I mean people add Reported-by tags for fixes to the original commit > like in commit f026d8ca2904 ("igc: add support to eeprom, registers and > link self-tests"). For after the fact post-processing of tags to generate summary reports, is there a significant difference between Reported-by for "original commit motivation" and Reported-by for "follow-on fixups"? Especially since this practice of Reported-by for fixups is already deployed in the tree (at least kbuild-robot credit reports and my subsystems operate this way). If the fix is a slightly late and needs to come as a follow-on patch the tag will be Reported-by on that fix. I fail to perceive a benefit in augmenting the tag to indicate the resolution of the race condition of the commit making it upstream.