summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2026-08-10 15:43:13 +0300
committerBjorn Helgaas <bhelgaas@google.com>2026-09-17 17:45:36 -0500
commitfe108800a865b268eec103e4940c248c85a86e9f (patch)
tree169a7c45cadf5d15d843327bfe830f56525a17fd /rust/kernel
parentb59e98ae3841f84d0fb21dbf80e69e6c241a29d9 (diff)
PCI: cadence: Preserve all error codes in cdns_plat_pcie_probe()
The blamed commit functionally changed the error path of cdns_pcie_host_probe(), now cdns_plat_pcie_probe(). When the old code path executed "goto err_get_sync", the PCIe controller probe function propagated the pm_runtime_get_sync() error code. The new code doesn't, and returns 0. Similarly for the "goto err_init" previously triggered by cdns_pcie_host_init() errors, and now triggered by cdns_pcie_host_setup() and cdns_pcie_ep_setup() errors. These are not propagated and will result in probing success, which is incorrect. Fixes: bd22885aa188 ("PCI: cadence: Refactor driver to use as a core library") Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260810124315.433448-2-vladimir.oltean@nxp.com
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions