diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-05-09 14:59:16 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-30 20:09:41 -0700 |
commit | fc7be702474fe5c795592047940c702783736294 (patch) | |
tree | 855f51f224d08f23c6e46e20acc19352b56ebaa2 /fs | |
parent | 06fc222e9d64a5af611acbcb4562d2e5ab595cad (diff) | |
download | lwn-fc7be702474fe5c795592047940c702783736294.tar.gz lwn-fc7be702474fe5c795592047940c702783736294.zip |
applicom: dereferencing NULL on error path
commit 8bab797c6e5724a43b7666ad70860712365cdb71 upstream.
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions