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

Linus Torvalds torvalds at linux-foundation.org
Mon Nov 9 17:14:19 PST 2026


On Mon, 9 Nov 2026 at 13:46, David Laight <david.laight.linux at gmail.com> 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



More information about the kexec mailing list