summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-05-27 15:55:38 +0300
committerBorislav Petkov (AMD) <bp@alien8.de>2024-06-24 20:28:18 +0300
commit7821fa101eab529521aa4b724bf708149d70820c (patch)
treed9798c72232623ae867618b6a0324fe7ef2598ab /tools/perf/scripts/python/export-to-sqlite.py
parente9d7b435dfaec58432f4106aaa632bf39f52ce9f (diff)
downloadlinux-7821fa101eab529521aa4b724bf708149d70820c.tar.xz
x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
iosf_mbi_pci_{read,write}_mdr() use pci_{read,write}_config_dword() that return PCIBIOS_* codes but functions also return -ENODEV which are not compatible error codes. As neither of the functions are related to PCI read/write functions, they should return normal errnos. Convert PCIBIOS_* returns code using pcibios_err_to_errno() into normal errno before returning it. Fixes: 46184415368a ("arch: x86: New MailBox support driver for Intel SOC's") Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240527125538.13620-4-ilpo.jarvinen@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions