usb: musb_host: Use sizeof(*qh)instead of sizeof *qh.
Subsystems (2)
PATCH 1/1 usb: musb_host: Use sizeof(*qh)instead of sizeof *qh.
Use sizeof(*qh)instead of sizeof *qh.
Signed-off-by Sandhya Bankar <[email protected]>
--- drivers/usb/musb/musb_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/musb/musb_host.c +1 -1
@@ -2228,7 +2228,7 @@ static int musb_urb_enqueue(* REVISIT consider a dedicated qh kmem_cache, so it's harder * for bugs in other kernel code to break this driver... */ - qh =kzalloc (sizeof *qh, mem_flags); + qh =kzalloc (sizeof (*qh), mem_flags);if (!qh) {spin_lock_irqsave (&musb->lock, flags);usb_hcd_unlink_urb_from_ep (hcd, urb);
Signature · 1 line
1.8.3.4
Bin Liu
maintainerHi,
Quoted 3 lines · Sandhya Bankar
Use sizeof(*qh)instead of sizeof *qh.
Signed-off-by Sandhya Bankar <[email protected]>
Please revise the subject prefix to "usb: musb: host: ...".
Regards,
-Bin.