patch "test_firmware: fix missing unlock on error in" added to driver-core-next
Subsystems (2)
This is a note to let you know that I've just added the patch titled
test_firmware: fix missing unlock on error in
to my driver-core git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
in the driver-core-next branch.
The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)
The patch will also be merged in the next major kernel release during the merge window.
If you have any questions about this process, please let me know.
Quoted 1 line
From
a5e1923356505e46476c2fb518559b7a4d9d25b1Mon Sep 17 00:00:00 2001
From: Wei Yongjun <[email protected]>
Date: Thu, 11 Jan 2018 11:12:55 +0000
Subject: test_firmware: fix missing unlock on error in
config_num_requests_store()
Add the missing unlock before return from function config_num_requests_store() in the error handling case.
--- lib/test_firmware.c | 1 + 1 file changed, 1 insertion(+)
lib/test_firmware.c +1 -0
@@ -371,6 +371,7 @@ static ssize_t config_num_requests_store(struct device *dev,if (test_fw_config->reqs) {pr_err ("Must call release_all_firmware prior to changing config\n" ); rc = -EINVAL ; +mutex_unlock (&test_fw_mutex); goto out; }mutex_unlock (&test_fw_mutex);
Signature · 1 line
2.16.0