diff options
author | Colin Ian King <colin.king@canonical.com> | 2014-03-20 18:11:04 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 23:12:39 +0400 |
commit | ebb2c96bb9214ba38c7fe35d5d725f6e7cb3bbc8 (patch) | |
tree | 514f42f07a586bce0b2e0c106b9d934cd8853e3f /drivers/misc/genwqe/card_dev.c | |
parent | 68fe8acc204c7fbefd4c01b8929fedb244ec283d (diff) | |
download | linux-ebb2c96bb9214ba38c7fe35d5d725f6e7cb3bbc8.tar.xz |
GenWQE: Ensure rc is not returning an uninitialized value
rc is not initialized, so genwqe_finish_queue() either returns -EIO or
garbage. Fortunately the return is not being checked by any callers,
so this has not yet caused any problems. Even so, it makes sense to
fix this small bug in case is is checked in future.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Frank Haverkamp <haver@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/genwqe/card_dev.c')
0 files changed, 0 insertions, 0 deletions