linux-next: manual merge of the usb tree with the usb.current tree
From: Mark Brown
Date: Mon Nov 23 2026 - 12:45:28 EST
Hi all,
Today's linux-next merge of the usb tree got a conflict in:
drivers/usb/gadget/function/f_hid.c
between commit:
07ec204e8aecb ("usb: gadget: f_hid: fix race between userspace report update and GET_REPORT response")
from the usb.current tree and commit:
d034e353e3ef5 ("usb: gadget: fix a few spelling mistakes in comments")
from the usb tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
diff --cc drivers/usb/gadget/function/f_hid.c
index 428635e580bb7,4befb3d0f58c9..0000000000000
--- a/drivers/usb/gadget/function/f_hid.c
+++ b/drivers/usb/gadget/function/f_hid.c
@@@ -637,9 -622,10 +643,9 @@@ static void get_report_workqueue_handle
* Either get an updated response just serviced by userspace
* or send the latest response in the list
*/
- req->buf = ptr->report_data.data;
+ memcpy(req->buf, ptr->report_data.data, req->length);
} else {
- /* If there are no prevoiusly sent reports send empty report */
+ /* If there are no previously sent reports send empty report */
- req->buf = hidg->get_report.data;
memset(req->buf, 0x0, req->length);
}
Attachment:
signature.asc
Description: PGP signature