From: Dan Carpenter Date: Fri, 9 May 2014 11:59:16 +0000 (+0300) Subject: applicom: dereferencing NULL on error path X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~38^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bab797c6e5724a43b7666ad70860712365cdb71;p=pandora-kernel.git applicom: dereferencing NULL on error path This is a static checker fix. The "dev" variable is always NULL after the while statement so we would be dereferencing a NULL pointer here. Fixes: 819a3eba4233 ('[PATCH] applicom: fix error handling') Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed