From: Rickard Strandqvist Date: Fri, 16 May 2014 15:39:13 +0000 (+0200) Subject: USB: keyspan: fix potential null pointer dereference X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5afce82e131eb5a171afeba0bc5fefbe2417ad9;p=pandora-kernel.git USB: keyspan: fix potential null pointer dereference Move control-urb dereference to after NULL-check. There is otherwise a risk of a possible null pointer dereference. Was largely found by using a static code analysis program called cppcheck. [Johan: modify commit message somewhat ] [gkh: remove stable tag as it's not a real problem that anyone has ever hit] Signed-off-by: Rickard Strandqvist Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed