aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorNathan Lynch <[email protected]>2023-02-10 12:41:50 -0600
committerMichael Ellerman <[email protected]>2023-02-13 22:35:01 +1100
commitcc4b26eab1859fa1a70711872caaf6414809973f (patch)
tree179fee8994ff35fca4cef62a643adbbde9698e8d /lib/test_fortify/write_overflow-strlcpy-src.c
parent09d1ea72c88198ef5a9e6b8208f544fe18acbff1 (diff)
powerpc/perf/hv-24x7: add missing RTAS retry status handling
The ibm,get-system-parameter RTAS function may return -2 or 990x, which indicate that the caller should try again. read_24x7_sys_info() ignores this, allowing transient failures in reporting processor module information. Move the RTAS call into a coventional rtas_busy_delay()-based loop, along with the parsing of results on success. Signed-off-by: Nathan Lynch <[email protected]> Fixes: 8ba214267382 ("powerpc/hv-24x7: Add rtas call in hv-24x7 driver to get processor details") Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions