Re: [PATCH] kbuild: treat char as always signed

From: Andy Shevchenko
Date: Wed Oct 19 2022 - 15:23:53 EST


On Wed, Oct 19, 2022 at 11:35:50AM -0700, Linus Torvalds wrote:
> On Wed, Oct 19, 2022 at 11:10 AM Nick Desaulniers
> <ndesaulniers@xxxxxxxxxx> wrote:

...

> We do have a couple of signed bitfields in the kernel, but they are
> unusual enough that it's actually a good thing that sparse just made
> people be explicit about it.

At least drivers/media/usb/msi2500/msi2500.c:289 can be converted
to use sign_extend32() I believe.

--
With Best Regards,
Andy Shevchenko