2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/drivers/hwtracing/intel_th
Laurent FERT 2bed074aad intel_th: msu: Release resources on read error
Right now, reading from msc character device will leak its's user count
on read error.

This patch makes sure resources are released when there is no data left
to read from the buffer.

Signed-off-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
..
core.c intel_th: Update scratchpad bits according to enabled output activity 2016-02-20 14:09:14 -08:00
debug.c intel_th: Add driver infrastructure for Intel(R) Trace Hub devices 2015-10-04 20:28:58 +01:00
debug.h intel_th: Add driver infrastructure for Intel(R) Trace Hub devices 2015-10-04 20:28:58 +01:00
gth.c intel_th: Update scratchpad bits according to enabled output activity 2016-02-20 14:09:14 -08:00
gth.h intel_th: Update scratchpad bits according to enabled output activity 2016-02-20 14:09:14 -08:00
intel_th.h intel_th: Update scratchpad bits according to enabled output activity 2016-02-20 14:09:14 -08:00
Kconfig intel_th: Depend on HAS_IOMEM 2016-02-20 14:09:14 -08:00
Makefile intel_th: Add PTI output driver 2015-10-04 20:28:58 +01:00
msu.c intel_th: msu: Release resources on read error 2016-02-20 14:09:14 -08:00
msu.h intel_th: Add Memory Storage Unit driver 2015-10-04 20:28:58 +01:00
pci.c intel_th: pci: Add Broxton SOC support 2016-02-07 22:43:17 -08:00
pti.c intel_th: Check for NULL instead of ERR_PTR 2015-10-16 23:25:48 -07:00
pti.h intel_th: Add PTI output driver 2015-10-04 20:28:58 +01:00
sth.c intel_th: Check for NULL instead of ERR_PTR 2015-10-16 23:25:48 -07:00
sth.h intel_th: Add Software Trace Hub driver 2015-10-04 20:28:58 +01:00