commit | 1eb0d78ea8033468c9def61aeb2b76113c1ca093 | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Sun Aug 18 23:22:35 2013 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Aug 18 23:22:35 2013 -0700 |
tree | 150b3261d82db2455da54c14ebd6e845207b9146 | |
parent | ef3866658f95568dccef3eeb2f7351aab2e21dd9 [diff] | |
parent | e422f9cb98970a59c96c6b52206bc3adfb79cf3c [diff] |
Merge "diag: dci: Handle dci mutex correctly"
diff --git a/drivers/char/diag/diag_dci.c b/drivers/char/diag/diag_dci.c index a779b24..1deee5c 100644 --- a/drivers/char/diag/diag_dci.c +++ b/drivers/char/diag/diag_dci.c
@@ -459,6 +459,7 @@ if ((read_len + 9) >= USER_SPACE_DATA) { pr_err("diag: dci: Invalid length while forming dci pkt in %s", __func__); + mutex_unlock(&driver->dci_mutex); return -EIO; }