diff options
author | Christian Engelmayer <cengelma@gmx.at> | 2014-05-13 22:47:03 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 02:43:12 +0200 |
commit | 63fa80cd582321693474f9cf9203329a2f8a8494 (patch) | |
tree | 096273c86f492f64d125ea1cd0aba54c629f34d2 /drivers/misc/genwqe/card_ddcb.c | |
parent | miscdevice.h: Simple syntax fix to make pointers consistent. (diff) | |
download | linux-63fa80cd582321693474f9cf9203329a2f8a8494.tar.xz linux-63fa80cd582321693474f9cf9203329a2f8a8494.zip |
misc: genwqe: fix uninitialized return value in genwqe_free_sync_sgl()
Function genwqe_free_sync_sgl() returns the value of variable 'rc'. 'rc' is
only set in the error paths, thus initialize it by 0. Coverity CID 1204242.
Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/genwqe/card_ddcb.c')
0 files changed, 0 insertions, 0 deletions