From: Sebastian Andrzej Siewior Date: Wed, 25 Jan 2012 14:18:58 +0000 (+0100) Subject: usb: gadget: dummy_hcd: fix null-deref free req X-Git-Tag: v3.4-rc1~184^2~22^2~39^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20edfbb6a17f3007c1905e9849d8d306e318883b;p=pandora-kernel.git 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 Acked-by: Alan Stern Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed