diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-05-09 13:59:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 02:43:12 +0200 |
commit | 8bab797c6e5724a43b7666ad70860712365cdb71 (patch) | |
tree | ffee514d021ca9dc1e35d75303fb00dc6dfe23e9 /drivers/char/msm_smd_pkt.c | |
parent | misc: genwqe: fix uninitialized return value in genwqe_free_sync_sgl() (diff) | |
download | linux-8bab797c6e5724a43b7666ad70860712365cdb71.tar.xz linux-8bab797c6e5724a43b7666ad70860712365cdb71.zip |
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>
Diffstat (limited to 'drivers/char/msm_smd_pkt.c')
0 files changed, 0 insertions, 0 deletions