Re: iio/â: Use common error handling code
From: Jonathan Cameron
Date: Sun Dec 10 2017 - 11:08:46 EST
On Sun, 10 Dec 2017 13:33:01 +0100
SF Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> 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