[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d8dce79d93363e19ea132ba8237a607a1ff28f09.camel@perches.com>
Date: Fri, 28 Aug 2020 10:51:55 -0700
From: Joe Perches <joe@...ches.com>
To: Peter Rosin <peda@...ntia.se>,
Krzysztof Kozlowski <krzk@...nel.org>
Cc: Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald-Stadler <pmeerw@...erw.net>,
Kukjin Kim <kgene@...nel.org>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Kevin Hilman <khilman@...libre.com>,
Neil Armstrong <narmstrong@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Marek Vasut <marek.vasut@...il.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...com>,
Beniamin Bia <beniamin.bia@...log.com>,
Tomasz Duszynski <tomasz.duszynski@...akon.com>,
Linus Walleij <linus.walleij@...aro.org>,
Andy Shevchenko <andy.shevchenko@...il.com>,
linux-iio@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-arm-kernel@...ts.infradead.org,
"linux-samsung-soc@...r.kernel.org"
<linux-samsung-soc@...r.kernel.org>,
linux-amlogic@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com
Subject: Re: [PATCH v2 09/18] iio: afe: iio-rescale: Simplify with
dev_err_probe()
On Fri, 2020-08-28 at 11:39 +0200, Peter Rosin wrote:
> On 2020-08-28 09:03, Krzysztof Kozlowski wrote:
> > > > If there is no consensus among discussing people, I find this 100 line
> > > > more readable, already got review, checkpatch accepts it so if subsystem
> > > > maintainer likes it, I prefer to leave it like this.
> > >
> > > I'm not impressed by that argument. For the files I have mentioned, it
> > > does not matter very much to me if you and some random person think that
> > > 100 columns might *slightly* improve readability.
> > >
> > > Quoting coding-style
> > >
> > > Statements longer than 80 columns should be broken into sensible chunks,
> > > unless exceeding 80 columns significantly increases readability and does
> > > not hide information.
> > >
> > > Notice that word? *significantly*
> >
> > Notice also checkpatch change...
>
> How is that relevant? checkpatch has *never* had the final say and its
> heuristics can never be perfect. Meanwhile, coding style is talking about
> exactly the case under discussion, and agrees with me perfectly.
As the checkpatch maintainer, checkpatch is stupid.
Using it as a primary argument should never be acceptable.
But line lengths from 81 to 100 columns should be exceptions
rather than
standard use.
Any named maintainer of actual code determines the style for
that code.
Style consistency and use of kernel standard mechanisms
should be the primary goals here.
Powered by blists - more mailing lists