usb: core: urb: explicitly initialize urb_list field in usb_init_urb()
PATCH 1/1 usb: core: urb: explicitly initialize urb_list field in usb_init_urb()
Signed-off-by Emiliano Ingrassia <[email protected]>
--- drivers/usb/core/urb.c | 1 + 1 file changed, 1 insertion(+)
drivers/usb/core/urb.c +1 -0
@@ -45,6 +45,7 @@ void usb_init_urb(struct urb *urb)if (urb) {memset (urb,0 ,sizeof (*urb));kref_init (&urb->kref); +INIT_LIST_HEAD (&urb->urb_list);INIT_LIST_HEAD (&urb->anchor_list); } }
--
2.24.0
Greg Kroah-Hartman
maintainerQuoted 1 line · Emiliano Ingrassia
Signed-off-by Emiliano Ingrassia <[email protected]>
I can not take patches without any changelog text, sorry.
ALways describe _why_ you are making this change, not what the change it.
thanks,
greg k-h