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

- From: David Laight \<hidden\>
- Date: 2026-11-09 21:46:02 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/11/17900331
- Thread: https://ratatoskr.run/linux-fsdevel/2026/11/17863636/t/3.md

```text
On Mon, 9 Nov 2026 05:05:57 +0000 (GMT)
"Maciej W. Rozycki" [ref] 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
> 

```
