diff options
author | Sean V Kelley <[email protected]> | 2020-11-20 16:10:28 -0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-12-04 11:18:58 -0600 |
commit | 0791721d800790e6e533bd8467df67f0dc4f2fec (patch) | |
tree | 61b5bf1d8066c97ca49da3ee6890f67946cc7983 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 480ef7cb9fcebda7b28cbed4f6cdcf0a02f4a6ca (diff) |
PCI/ERR: Use "bridge" for clarity in pcie_do_recovery()
pcie_do_recovery() may be called with "dev" being either a bridge (Root
Port or Switch Downstream Port) or an Endpoint. The bulk of the function
deals with the bridge, so if we start with an Endpoint, we reset "dev" to
be the bridge leading to it.
For clarity, replace "dev" in the body of the function with "bridge". No
functional change intended.
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Jonathan Cameron <[email protected]> # non-native/no RCEC
Signed-off-by: Sean V Kelley <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions