Re: [PATCH RESEND v2 14/23] proc: let procfs copy in writes before pinning the entry

From: Linus Torvalds

Date: Mon Nov 09 2026 - 20:23:52 EST


On Mon, 9 Nov 2026 at 13:46, David Laight <david.laight.linux@xxxxxxxxx> wrote:
>
> Just that the cast would have to be:
> u8 *foo = (u8 *)bar;
> where 'bar' is 'char *', and I don't think you need a cast there when
> char is unsigned.

.. and just to clarify: 'char' is always unsigned in the kernel on all
architectures since commit 3bc753c06dd0 ("kbuild: treat char as always
unsigned") back four years ago...

Linus