From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:54654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751726AbdLJQIe (ORCPT ); Sun, 10 Dec 2017 11:08:34 -0500 Date: Sun, 10 Dec 2017 16:08:29 +0000 From: Jonathan Cameron To: SF Markus Elfring Cc: linux-iio@vger.kernel.org, LKML , kernel-janitors@vger.kernel.org, Hans de Goede , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler Subject: Re: =?UTF-8?B?aWlvL+KApjo=?= Use common error handling code Message-ID: <20171210160829.16128419@archlinux> In-Reply-To: References: <5ab7e200-2dea-63e2-06db-0e185f563d16@users.sourceforge.net> <0f26a13b-7bbf-525b-a864-8aa8e13c3aef@users.sourceforge.net> <20171026174200.5c00b06d@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On Sun, 10 Dec 2017 13:33:01 +0100 SF Markus Elfring wrote: > > Again, a general kernel development rule is to float only one > > patch of a given type until you have had feedback on it. > > A few weeks later … > > > > As I said in one of the other patches, I always reply to all > > patches I am rejecting so that anyone coming across them later > > on their own from an archive or similar can immediately see the > > reasons why they are a bad idea without having to know the mailing > > list context. > > Can you get into the mood to clarify any remaining change possibilities > a bit more? Hi Markus, I've accepted the ones that I think made an improvement outweighing the inherent small costs of making any change. So in short, any changes around common error handling need to improve the maintainability of the code. So if we are unifying error paths they need to be simple and obviously the same. We also need to avoid code constructs that are unusual in error handling such as backwards gotos. Note however that most of the changes made so far are only minor improvements. I am not saying I don't appreciate them, but rather than that they are of of low importance. Thanks, Jonathan