diff options
| author | Tong Zhang <[email protected]> | 2021-05-22 00:37:25 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-22 10:34:48 +0200 |
| commit | 281e468446994a7672733af2bf941f4110d4a895 (patch) | |
| tree | 16e51d91805ea74cac986b3c944ef1cab3e7b16e /tools/perf/scripts/python/flamegraph.py | |
| parent | 78429edfeed8da0562243e876be46d700f9ed13c (diff) | |
misc: alcor_pci: fix inverted branch condition
This patch fixes a trivial mistake that I made in the previous attempt
in fixing the null bridge issue. The branch condition is inverted and we
should call alcor_pci_find_cap_offset() only if bridge is not null.
Reported-by: Colin Ian King <[email protected]>
Fixes: 3ce3e45cc333 ("misc: alcor_pci: fix null-ptr-deref when there is no PCI bridge")
Signed-off-by: Tong Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions