On Tue, 26 Mar 2024 at 09:03, Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote: > > The function handle_control_request() casts the urb buffer to a char *, > and then treats it like a unsigned char buffer when assigning data to > it. On some architectures, "char" is really signed, so let's just > properly set this pointer to a u8 to take away any potential problems as > that's what is really wanted here. [..] > Reported-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> Well, I assume this goes back to the discussions almost two years ago that then just led us to use '-funsigned-char' for the kernel. So the patch is still correct, but it's not like it's strictly necessary. I have no idea how this re-surfaced now. Linus