[PATCH RESEND v2 14/23] proc: let procfs copy in writes before pinning the entry
David Laight
david.laight.linux at gmail.com
Mon Nov 9 13:45:58 PST 2026
On Mon, 9 Nov 2026 05:05:57 +0000 (GMT)
"Maciej W. Rozycki" <macro at orcam.me.uk> wrote:
> On Sun, 8 Nov 2026, David Laight wrote:
>
> > > > While at it, I think it would be good to use this conversion as an
> > > > opportunity to replace "char *" by "void *", which will probably let
> > > > you drop several casts from users.
> > >
> > > So I tried that too. The thing is it drops exactly one u8 * cast in
> > > ntfs3's label write.
> >
> > Since char is now unsigned that one isn't even needed...
>
> Please excuse me missing the context, but what circumstances does your
> claim refer to?
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.
David
>
> Maciej
>
More information about the kexec
mailing list