summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>2019-03-01 10:09:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:44:51 +0200
commit28bd672e7a9f5e157d59201114859b196e989d08 (patch)
treea79c51aaf93208236ec5e4260e62766f910508c4 /tools/perf/scripts/python
parent20159939a8b4f07dfb5c140803fc63e13d3b9fec (diff)
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions