Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1234898ybg; Thu, 4 Jun 2020 04:45:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6kMN0XQRsdfTh3hyzXTeskEW7/CxrAB1QgjMxouoXG6C7OXErwc2mh1JlC0y2SgbbCD+4 X-Received: by 2002:aa7:c2c7:: with SMTP id m7mr3872614edp.148.1591271132924; Thu, 04 Jun 2020 04:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591271132; cv=none; d=google.com; s=arc-20160816; b=VIhvQEeJTBkVnPeMWgob0Vk957fhe5XMJS9wAcZ06rhTNinH0qSUEt4jIAKF04vLyX rEI8vBez1cegt6QWEyHBc6SPoz3o+MvaMW7XMD2IQLURJQGZq4XKZB1BiXVPiO0jydC2 wd++6e5Lc5Og7TEKyUEfQfdHBG5B04KhOF4so2tmdfbu8S56L9AZtD8hUrgfSeYbhvdm npWZpH9lju+ZwZ0sJJq3fVuonvoTASoGAPwlINWqv0PCF4yomKrIyJnJESt/ZPNe2rHK urTQYczduG1mhQywq73ezbUo0LZWV5Npr+YughlzrlQVfzkYIj8J52+w0XvBaTj/Yz1M TBKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=cBq+Qon1i5wAL0epRd+l51gFTbnK9++2QAkLasIECq4=; b=yX83mY94lurWb8SaLKc9i/1mPdID7af7KD6gh2ck1q6lSX/K0SXdKltPXO8Amohaav Keajny3cwhnqsF0lDOchJx9J9jjnSaO/Y6hnVSFboEHb1bB0h9DhJwrlOcI+8OYdOEvJ lLBKkLbqLPNzEXH6ZIfpCPYnM+wmIbAXfxkl4uVAZ6HA+a71ovvtVMTTuTmWcPM0prm/ l+v2ruxkSwDT6QZ1OcHJUF2v1jfhhlqUDVXmH1mmgutW7dW2l88EeSjzBRsklbHU4Urd 8vTItmuDGEKhUDQi/UdecvvYku4smlBHIJH4goUq6hd1W06InF7GZIj5AHBGGSTu/i2f ZB0Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mf5si1602260ejb.186.2020.06.04.04.45.09; Thu, 04 Jun 2020 04:45:32 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728054AbgFDLmQ (ORCPT + 99 others); Thu, 4 Jun 2020 07:42:16 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:48604 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgFDLmP (ORCPT ); Thu, 4 Jun 2020 07:42:15 -0400 X-IronPort-AV: E=Sophos;i="5.73,472,1583190000"; d="scan'208";a="350573905" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jun 2020 13:42:12 +0200 Date: Thu, 4 Jun 2020 13:42:12 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Joe Perches cc: Julia Lawall , Dan Carpenter , Linus Walleij , Christophe JAILLET , Robert Jarzmik , Daniel Mack , Haojian Zhuang , Linux ARM , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org Subject: Re: [PATCH] pinctrl: pxa: pxa2xx: Remove 'pxa2xx_pinctrl_exit()' which is unused and broken In-Reply-To: <10e54ee84bd44171ef329bed9e7e6a946bae61ba.camel@perches.com> Message-ID: References: <20200531073716.593343-1-christophe.jaillet@wanadoo.fr> <87h7vvb1s3.fsf@belgarion.home> <20200601183102.GS30374@kadam> <20200604083120.GF22511@kadam> <2aa49a543e6f48a6f428a37b63a06f9149870225.camel@perches.com> <32232229031e02edcc268b1074c9bac44012ee35.camel@perches.com> <10e54ee84bd44171ef329bed9e7e6a946bae61ba.camel@perches.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 4 Jun 2020, Joe Perches wrote: > On Thu, 2020-06-04 at 12:33 +0200, Julia Lawall wrote: > > > > On Thu, 4 Jun 2020, Joe Perches wrote: > > > > > On Thu, 2020-06-04 at 11:52 +0200, Julia Lawall wrote: > > > > Should Fixes also be used when the change will make it hard to port other > > > > fixes over it? > > > > > > If it's a logic defect or regression that's being fixed, > > > shouldn't the logic defect or regression be fixed as > > > reasonably soon as possible? > > > > Sure, but I recall seeing some patches that mentioned that the problem had > > existed since the beginning of git. Of course, it should be rare. > > git history goes back 15 years already. > There are scant few bugs that old. > > There is a tree with even older history that Rob Landley > still has here: https://landley.net/kdocs/fullhist/ > > It does make git blame research a bit easier for those > rare and extremely old defects. > > > > The nature of the fix should ideally be optimal for > > > backporting, but I believe that should not stop any > > > consideration for the standalone fix itself. > > > > I'm not sure to follow this. > > I think it comes down to defects in current need to be > fixed. Describing > the base commit that is being fixed > is useful for backporting. > > I believe it's not reasonable to ask the author of a > fix to research how it could or should be backported. > > > Sometimes non-bug fixes that block > > backporting a bug fix have to be backported as well. So the fixes would > > again highlight the range of versions affected by the issue. > > Sure, but the non-bug fixes that may also need backporting > to enable easy backports of the actual fix should not be > described in the Fixes: as those are generally > easily researched from a command like: > > $ git log .. > > by whoever needs to backport. OK, I recall a discussion with Dan where he suggested that some things that were not actually bug fixes could also merit a Fixes tag. But it's probably better if he weighs in directly. It would be unfortunate if someone doesn't submit a fix because they can't figure out how to make the Fixes tag properly, though. For example, when there is a lot of concurrency involved, some of the bugs reported by syzkaller can be hard to fully understand. In the case of a NULL pointer dereference can a patch only be submitted if it is known where the NULL comes from, and at what time the reason for producing the NULL was introduced into the kernel? Adding a NULL test without fully understanding how the NULL can arise could reasonably be seen as papering over a real problem. But sometimes it could be better to paper over the problem than incur the problem in a critical situation. But I agree that these are corner cases. Hopefully if such a NULL test was submitted with an explanation on why the submitter was not able to find the source of the problem and why the problem is important, then the maintainer could provide some guidance that would resolve the situation. julia