[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wi0zxgKyHn1F_K6o-uxvPmdKA0njcyD3PDSAvVZgdk4OA@mail.gmail.com>
Date: Mon, 21 Mar 2022 10:05:55 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Bill Wendling <morbo@...gle.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
llvm@...ts.linux.dev
Subject: Re: [PATCH v2] gpiolib: acpi: use correct format characters
On Mon, Mar 21, 2022 at 3:09 AM Andy Shevchenko
<andy.shevchenko@...il.com> wrote:
>
> Would you sign off on this? I will then replace the original patch
> with your version.
Sure. Note that I (intentionally) do bogus indentation of my inline
patches, because that thing wasn't actually _tested_. It's obvious
enough and should fix the issue, but I just wanted to point that out.
With that said, it's _so_ obviously correct (famous last words) that
I'll happily add my sign-off to it:
Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>
and I suspect the explanations in the email could probably be used as
much of a commit message.
> And for the record I have a follow up patch to clearly show that pin
> is always unsigned, induced by this discussion.
Yeah, that sounds like a good idea - for a compiler it was obvious due
to the load from a 'u16' array, but a human would actually have to go
and check what that pin_table[] array was to see that "yup, that can't
be negative in 'int'".
Linus
Powered by blists - more mailing lists