android_kernel_samsung_a7y1.../drivers/hwtracing
Alexander Shishkin ce1308637b intel_th: gth: Fix an off-by-one in output unassigning
commit 91d3f8a629849968dc91d6ce54f2d46abf4feb7f upstream.

Commit 9ed3f22223c3 ("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: 9ed3f22223c3 ("intel_th: Don't reference unassigned outputs")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-06 16:40:30 +02:00
..
coresight coresight: etm4x: Add support to enable ETMv4.2 2020-04-06 14:50:34 +02:00
intel_th intel_th: gth: Fix an off-by-one in output unassigning 2020-04-06 16:40:30 +02:00
stm stm class: Hide STM-specific options if STM is disabled 2020-04-06 13:03:45 +02:00