kernel_optimize_test/drivers/hwtracing/intel_th
Alexander Shishkin 91d3f8a629 intel_th: gth: Fix an off-by-one in output unassigning
Commit 9ed3f22223 ("intel_th: Don't reference unassigned outputs")
fixes a NULL dereference for all masters except the last one ("256+"),
which keeps the stale pointer after the output driver had been unassigned.

Fix the off-by-one.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Fixes: 9ed3f22223 ("intel_th: Don't reference unassigned outputs")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-01 09:20:38 +01:00
..
acpi.c intel_th: Add ACPI glue layer 2018-03-28 18:47:23 +03:00
core.c intel_th: Only create useful device nodes 2019-02-21 15:04:36 +02:00
debug.c intel_th: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate 2018-03-28 18:47:19 +03:00
debug.h intel_th: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate 2018-03-28 18:47:19 +03:00
gth.c intel_th: gth: Fix an off-by-one in output unassigning 2019-03-01 09:20:38 +01:00
gth.h intel_th: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate 2018-03-28 18:47:19 +03:00
intel_th.h intel_th: Allow forcing host mode through drvdata 2018-03-28 18:47:21 +03:00
Kconfig intel_th: Add ACPI glue layer 2018-03-28 18:47:23 +03:00
Makefile intel_th: Add ACPI glue layer 2018-03-28 18:47:23 +03:00
msu.c intel_th: msu: Fix an off-by-one in attribute store 2018-12-19 20:21:06 +01:00
msu.h intel_th: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate 2018-03-28 18:47:19 +03:00
pci.c intel_th: pci: Add Ice Lake PCH support 2018-09-18 16:08:38 +02:00
pti.c intel_th: pti: Use sysfs_match_string() helper 2019-02-21 15:04:36 +02:00
pti.h intel_th: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate 2018-03-28 18:47:19 +03:00
sth.c intel_th: Mark expected switch fall-throughs 2019-02-21 15:04:36 +02:00
sth.h intel_th: Add SPDX GPL-2.0 header to replace GPLv2 boilerplate 2018-03-28 18:47:19 +03:00