Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753539AbeAFB0i (ORCPT + 1 other); Fri, 5 Jan 2018 20:26:38 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:43914 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753401AbeAFB0g (ORCPT ); Fri, 5 Jan 2018 20:26:36 -0500 Date: Fri, 5 Jan 2018 17:26:34 -0800 From: Darren Hart To: SF Markus Elfring Cc: ibm-acpi-devel@lists.sourceforge.net, platform-driver-x86@vger.kernel.org, Henrique de Moraes Holschuh , Andy Shevchenko , Andy Shevchenko , Henrique de Moraes Holschuh , LKML , kernel-janitors@vger.kernel.org Subject: Re: platform/x86/thinkpad_acpi: Adjustments for four function implementations Message-ID: <20180106012634.GB5260@fury> References: <81459d11-693a-eb51-9173-9c189677f422@users.sourceforge.net> <20171223014033.jx7fzu7uzjfbzyca@khazad-dum.debian.net> <80ae8328-5851-01b0-cb31-474f7baf1686@users.sourceforge.net> <20180103001034.GC24794@fury> <9ea2c1c7-a07d-19c3-a2dc-0c69352d9558@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9ea2c1c7-a07d-19c3-a2dc-0c69352d9558@users.sourceforge.net> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 03, 2018 at 09:41:04AM +0100, SF Markus Elfring wrote: > > I understand it can be frustrating to encounter different policies > > across kernel maintainers. > > The change acceptance is varying for special transformation patterns. > > > > You'll even run in to this with maintainers of the same subsystem > > from time to time. > > Interesting, isn't it? > > > > I'm supportive of cleaning up old code in general, > > Nice. > > > > and we routinely apply such patches as these developed with cocci. > > Good to know … > > > > 1. This is init code )so any space savings is short lived) > > Would you dare to achieve another small improvement there? > > > > So it isn't that we place a low value on coding style guidelines, > > but rather we place higher value on not perturbing code > > I can follow this view in principle. > > > > we can't fully test without a demonstrable functional reasons to do so. > > How do you think about to get a bit nicer run time characteristics? If this was code that affected all systems, the impact would be greater - and it would be much easier to test. As it applies only to Thinkpad systems, far fewer total systems are affected, and it is much harder to test/verify. For something like this, we (Andy and I) will typically defer to the driver-specific maintainer. Henrique has declined the patch, and I think the reasoning is defensible. If you feel that is the wrong call, you will need to present convincing evidence to Henrique that this is worth the risk. From what I've seen of the patch series thus far... I don't think the advantages can be argued to outweigh the risks - or that it would be worth the effort. Henrique, I'm going to stop there and let you chime in if you feel differently about any of the above. -- Darren Hart VMware Open Source Technology Center