commit | 8bab797c6e5724a43b7666ad70860712365cdb71 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri May 09 14:59:16 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue May 27 17:43:12 2014 -0700 |
tree | ffee514d021ca9dc1e35d75303fb00dc6dfe23e9 | |
parent | 63fa80cd582321693474f9cf9203329a2f8a8494 [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>