summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/pch_udc.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2012-01-25 15:18:58 +0100
committerFelipe Balbi <balbi@ti.com>2012-02-09 09:54:00 +0200
commit20edfbb6a17f3007c1905e9849d8d306e318883b (patch)
tree3546c5796c58573561a9217525020d9a88eb0977 /drivers/usb/gadget/pch_udc.c
parent3cf0ad02e42a91e85ffe9bd67422dd266531d3ec (diff)
usb: gadget: dummy_hcd: fix null-deref free req
_ep to ep is a pointer substraction so ep won't be zero unless _ep was 8. This was not intendent by the author, it was probably a typo while checking for NULL of the argument. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/pch_udc.c')
0 files changed, 0 insertions, 0 deletions