it is then dereferenced as
udc->dev.
To fix these issues, shift assignment of udc by dereferencing ep after
null check for _ep, replace both dev_dbg statements with pr_debug.
Found using Coccinelle.
Signed-off-by: Tapasweni Pathak
Suggested-by : Julia Lawall
Reviewed-by : Julia
To avoid deadlock, do not call blocking functions with spinlocks held.
Replace GFP_KERNEL with GFP_ATOMIC, as the latter will fail if the heap
doesn't have enough free pages but will not sleep and hence deadlock can
be avoided.
Found by Coccinelle.
Signed-off-by: Tapasweni Pathak
---
Is