aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2024-05-27 16:23:45 +0300
committerBartosz Golaszewski <[email protected]>2024-05-30 11:21:05 +0200
commit9a73e037f4b5eb45c9ecccb191d39c280abe7cbd (patch)
tree298f31ee2d283987e9252e41604f204401d17091 /tools/perf/scripts/python/stackcollapse.py
parentd4cde6e42f2eb56436cab6d1931738ec09e64f74 (diff)
gpio: rdc321x: Convert PCIBIOS_* return codes to errnos
rdc_gpio_config() uses pci_{read,write}_config_dword() that return PCIBIOS_* codes. rdc_gpio_config() is used for direction_{input,output}() in the struct gpio_chip which both require normal errnos to be returned. Similarly, rdc321x_gpio_probe() that is probe function returns PCIBIOS_* codes without converting them first into normal errnos. Convert PCIBIOS_* returns code using pcibios_err_to_errno() into normal errno before returning them to fix both issues. Signed-off-by: Ilpo Järvinen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions