mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
usb: gadget: net2280: Dont use 0 as NULL pointer
Fix sparse warning
Fixes: cb442ee159 (usb: gadget: udc: net2280: Re-enable dynamic debug messages)
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
This commit is contained in:
parent
c76abecc42
commit
fc12c68b4f
1 changed files with 1 additions and 1 deletions
|
|
@ -2287,7 +2287,7 @@ static void handle_ep_small(struct net2280_ep *ep)
|
|||
ep->irqs++;
|
||||
|
||||
ep_vdbg(ep->dev, "%s ack ep_stat %08x, req %p\n",
|
||||
ep->ep.name, t, req ? &req->req : 0);
|
||||
ep->ep.name, t, req ? &req->req : NULL);
|
||||
|
||||
if (!ep->is_in || (ep->dev->quirks & PLX_2280))
|
||||
writel(t & ~BIT(NAK_OUT_PACKETS), &ep->regs->ep_stat);
|
||||
|
|
|
|||
Loading…
Reference in a new issue