On 11/11/2019 12:14 AM, Colin King wrote: > From: Colin Ian King <colin.king@xxxxxxxxxxxxx> > > The pointer ep is currently being dereferenced when initializing pointer > udc before ep is being null checked. Fix this by only dereferencing > ep after it has been null checked. > > Addresses-Coverity: ("Dereference before null check") > Fixes: 24a28e428351 ("USB: gadget driver for LPC32xx") > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx> Acked-by: Vladimir Zapolskiy <vz@xxxxxxxxx> -- Best wishes, Vladimir