diff options
| author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-10-01 00:38:08 +0800 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2017-02-23 03:54:07 +0000 |
| commit | 273f111f0e29eef958dd50d9fa71e87d8a8a4ffe (patch) | |
| tree | 4d6e79ffec8b2107200310dd8e26fe05dc638e25 /include/uapi/linux/caif | |
| parent | 0a43549f8249868c3dad4e646caa98df6f41127c (diff) | |
staging: rtl8188eu: fix double unlock error in rtw_resume_process()
commit 23bf40424a0f641ca7ff4225add4aa592086bdd5 upstream.
Fix following static checker warning:
drivers/staging/rtl8188eu/os_dep/usb_intf.c:311 rtw_resume_process()
error: double unlock 'mutex:&pwrpriv->mutex_lock'
Fixes: eaf47b713b60 ("staging: rtl8188eu: fix missing unlock on error in rtw_resume_process()")
Reported-By: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.16:
- Adjust context
- Unlock pwrctrl_priv::lock]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'include/uapi/linux/caif')
0 files changed, 0 insertions, 0 deletions
