linux/drivers/hwtracing/intel_th
Alexander Shishkin 97007500ec intel_th: sth: Sanitize packet callback's return values
According to the stm class interface, the packet callback should return
an error if it is asked to generate packets that it doesn't support.
When it succeeds, it should return number of bytes consumed from its
payload. Currently, for FLAG packet it mistakenly returns 1.

This patch addresses these issues.

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
debug.h
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: sth: Sanitize packet callback's return values 2016-02-20 14:09:14 -08:00
sth.h intel_th: Add Software Trace Hub driver 2015-10-04 20:28:58 +01:00