[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YfHRIw9aFwCYaXh7@sol.localdomain>
Date: Wed, 26 Jan 2022 14:54:27 -0800
From: Eric Biggers <ebiggers@...nel.org>
To: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Crypto Mailing List <linux-crypto@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
llvm@...ts.linux.dev, Nick Desaulniers <ndesaulniers@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Nathan Chancellor <nathan@...nel.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
Miles Chen <miles.chen@...iatek.com>,
Ard Biesheuvel <ardb@...nel.org>
Subject: Re: [PATCH v2] lib/crypto: blake2s: avoid indirect calls to
compression function for Clang CFI
On Tue, Jan 25, 2022 at 01:23:34PM +0100, Jason A. Donenfeld wrote:
> On 1/25/22, Eric Biggers <ebiggers@...nel.org> wrote:
> > On Mon, Jan 24, 2022 at 08:28:49PM +0100, Jason A. Donenfeld wrote:
> >> blake2s_compress_generic is weakly aliased by blake2s_generic. The
> >
> > Don't you mean "weakly aliased by blake2s_compress"?
>
> Grrrr. Thanks.
>
> >> Changes v1->v2:
> >> - Wrapped columns at 80 for Eric.
> >
> > It is the recommended coding style, so not just for me :-)
>
> I was under the impression this increased to 100 mid-2020 or so, and
> checkpatch.pl now makes noise at that width instead.
>From Documentation/process/coding-style.rst:
"The preferred limit on the length of a single line is 80 columns.
Statements longer than 80 columns should be broken into sensible chunks,
unless exceeding 80 columns significantly increases readability and does
not hide information."
It's not as strict as it used to be, but checkpatch seems to be overly-lenient.
I always run it with --max-line-length=80.
- Eric
Powered by blists - more mailing lists