Re: [PATCH] usb: gadget: f_hid: do not copy_from_user() under a spinlock

Linkai Gong <[email protected]>
Newsgroups org.kernel.vger.linux-usb,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
On Mon, 17 Aug 2026 15:46:04 +0100, David Laight wrote:
> How about a patch to remove the ERROR() from the earlier copy_from_user()
> error path?

Agreed. A failed copy_from_user() is a userspace error and should not
spam the kernel log. I'll send a follow-up that drops that ERROR().

Thanks,
Linkai
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.