diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-06-03 15:34:01 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-04 15:00:01 +0100 |
commit | 68f43258624169b23e45dd8065f53b1021b31acb (patch) | |
tree | 1bf6eef3bdf5d394ac7e1eca17c9bdcbf4e367bf /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 38fec10eb60d687e30c8c6b5420d86e8149f7557 (diff) |
PCI: mobiveil: fix 5.7 merge errors
Fix errors in the mobiveil version that was merged in 5.7 kernels:
- the type of "root_bus_nr" was changed from "u8" to "char", but
it is compared to values that are typed as "unsigned char".
Depending whether a platform has "char" as signed or unsigned,
this may not do what is intended.
- ls_g4_pcie_reinit_hw() now returns a success/failure value, and
follows the Linux style of return 0 on success and -ve errno on
failure. However, the testing in ls_pcie_g4_reset() expects 0
on failure, so we won't call ls_ig4_pcie_enable_interrupt() except
if ls_g4_pcie_reinit_hw() has failed - which is likely not what
was intended.
Fixes: d29ad70a813b ("PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions