]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: avoid double unlocking of 'wilc->hif_cs' mutex
authorAjay Singh <ajay.kathat@microchip.com>
Fri, 21 Feb 2020 11:30:20 +0000 (11:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Feb 2020 18:20:49 +0000 (19:20 +0100)
commitad0f1bb8a8cc129237cce068362eafa0211d03e5
tree2b93a624b670ef3fde04f7642d293af9d8fdccc2
parent83a597e8871623f0455876bdf3d33853f52b446f
staging: wilc1000: avoid double unlocking of 'wilc->hif_cs' mutex

Possible double unlocking of 'wilc->hif_cs' mutex was identified by
smatch [1]. Removed the extra call to release_bus() in
wilc_wlan_handle_txq() which was missed in earlier commit cc715cf10e8e
("staging: wilc1000: support suspend/resume functionality").

[1]. https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/NOEVW7C3GV74EWXJO3XX6VT2NKVB2HMT/

Reported-by: kbuild test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20200221170120.15739-1-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wlan.c