linux_dsm_epyc7002/drivers/hwtracing/stm
Alexander Shishkin 1810f2c448 stm class: Fix unlocking braino in the error path
If an illegal attempt is made to unlink stm source device from an
stm device, the stm device's link spinlock mistakenly remains locked.
While this really shouldn't happen (there's a warning in place), the
locking should remain in order so that we can still recover from this
situation if it indeed does happen.

This patch unifies the unlocking in the exit path of
__stm_source_link_drop() to fix this.

Reported-by: Laurent Fert <laurent.fert@intel.com>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-02-20 14:09:14 -08:00
..
console.c stm class: stm_console: Add kernel-console-over-stm driver 2015-10-04 20:28:58 +01:00
core.c stm class: Fix unlocking braino in the error path 2016-02-20 14:09:14 -08:00
dummy_stm.c stm class: dummy_stm: Create multiple devices 2016-02-20 14:09:14 -08:00
heartbeat.c stm class: Add heartbeat stm source device 2016-02-20 14:09:14 -08:00
Kconfig stm class: Add heartbeat stm source device 2016-02-20 14:09:14 -08:00
Makefile stm class: Add heartbeat stm source device 2016-02-20 14:09:14 -08:00
policy.c stm class: Support devices with multiple instances 2016-02-20 14:09:14 -08:00
stm.h stm class: Fix link list locking 2016-02-07 22:43:17 -08:00