[PATCH -next] test_firmware: fix missing unlock on error in config_num_requests_store()

2018-01-11 Thread Wei Yongjun
Add the missing unlock before return from function config_num_requests_store() in the error handling case. Fixes: c92316bf8e94 ("test_firmware: add batched firmware tests") Signed-off-by: Wei Yongjun --- lib/test_firmware.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH -next] test_firmware: fix missing unlock on error in config_num_requests_store()

2018-01-11 Thread Wei Yongjun
Add the missing unlock before return from function config_num_requests_store() in the error handling case. Fixes: c92316bf8e94 ("test_firmware: add batched firmware tests") Signed-off-by: Wei Yongjun --- lib/test_firmware.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/test_firmware.c