aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorIlpo Järvinen <[email protected]>2024-05-27 16:26:15 +0300
committerHerbert Xu <[email protected]>2024-06-07 19:46:38 +0800
commit14cba6ace79627a57fb9058582b03f0ed3832390 (patch)
treed9177c9d4c3613294a2f81e2d02a851106fd1349 /tools/perf/scripts/python/bin/stackcollapse-record
parentfa501bf25eb353422a0c966ed91662051edac839 (diff)
hwrng: amd - Convert PCIBIOS_* return codes to errnos
amd_rng_mod_init() uses pci_read_config_dword() that returns PCIBIOS_* codes. The return code is then returned as is but amd_rng_mod_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. Fixes: 96d63c0297cc ("[PATCH] Add AMD HW RNG driver") Cc: [email protected] Signed-off-by: Ilpo Järvinen <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions