diff options
author | Nathan Lynch <[email protected]> | 2023-02-10 12:41:52 -0600 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-02-13 22:35:01 +1100 |
commit | 5d08633e5f6564b60f1cbe09af3af40a74d66431 (patch) | |
tree | c7bf88aaecdd770bcc2db60b4028702cfd0fda2f /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | daa8ab59044610aa8ef2ee45a6c157b5e11635e9 (diff) |
powerpc/pseries/lparcfg: 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.
lparcfg's parse_system_parameter_string() ignores this, making it
possible to intermittently report incorrect SPLPAR characteristics.
Move the RTAS call into a coventional rtas_busy_delay()-based loop.
Signed-off-by: Nathan Lynch <[email protected]>
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
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