diff options
author | 2024-05-27 16:23:44 +0300 | |
---|---|---|
committer | 2024-05-30 11:20:53 +0200 | |
commit | d4cde6e42f2eb56436cab6d1931738ec09e64f74 (patch) | |
tree | 7dbe1f1998180e585016b77c0ed9ca8de2fc5f94 /tools/perf/scripts/python/task-analyzer.py | |
parent | gpio: syscon: do not report bogus error (diff) | |
download | wireguard-linux-d4cde6e42f2eb56436cab6d1931738ec09e64f74.tar.xz wireguard-linux-d4cde6e42f2eb56436cab6d1931738ec09e64f74.zip |
gpio: amd8111: Convert PCIBIOS_* return codes to errnos
amd_gpio_init() uses pci_read_config_dword() that returns PCIBIOS_*
codes. The return code is then returned as is but amd_gpio_init() is
a module init function that should return normal errnos.
Convert PCIBIOS_* returns code using pcibios_err_to_errno() into normal
errno before returning it from amd_gpio_init().
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240527132345.13956-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions