From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Date: Tue, 31 Oct 2017 16:56:21 +0000 Subject: Re: Sony-laptop: Use common error handling code in sony_nc_setup_rfkill() Message-Id: <136e2b05-a601-f8de-dd84-d72b765ea4df@users.sourceforge.net> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Andy Shevchenko , platform-driver-x86@vger.kernel.org Cc: Andy Shevchenko , Darren Hart , Mattia Dongili , LKML , kernel-janitors@vger.kernel.org >> I performed another simple software refactoring. > > Which is _useless_ per se I disagree in this case because the goal of a refactoring should be to adjust something in a desired direction without changing the provided functionality. > by the reasons you had been told already _several_ times about. There can be other reasons why you do not like a concrete change. > Either you do a real fix (propagate correct error codes > to upper layers), or just don't bother at all. Have the involved contributors any preferences on organisation of corresponding update steps? * Correct exception handling first and then apply the shown source code reduction again. * Combine better exception handling with smaller code in one patch. * Addition of the tag “Fixes” in the commit message? Regards, Markus