diff options
author | Ilpo Järvinen <[email protected]> | 2023-08-14 16:27:20 +0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-08-21 14:11:51 -0500 |
commit | da54556695b9ab20cc696827247ffff02254b78d (patch) | |
tree | ac2e4db8910504b9bd70039e8e10c88dd20acd83 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 7cd23f6c7252a84eb28370d7da4ae7da94947f2d (diff) |
net/mlx5: Convert PCI error values to generic errnos
mlx5_pci_link_toggle() returns a mix of PCI-specific error codes and
generic errnos.
Convert the PCI-specific error values to generic errno using
pcibios_err_to_errno() before returning them.
Fixes: eabe8e5e88f5 ("net/mlx5: Handle sync reset now event")
Fixes: 212b4d7251c1 ("net/mlx5: Wait for firmware to enable CRS before pci_restore_state")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ilpo Järvinen <[email protected]>
[bhelgaas: rebase to pci/pcie-rmw, also convert in mlx5_check_dev_ids()]
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions