diff options
author | Nathan Lynch <[email protected]> | 2023-02-10 12:41:57 -0600 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-02-13 22:35:02 +1100 |
commit | 77f85f69a97ac5f24537261a893436926c3e0cdc (patch) | |
tree | cfa3f3d5b5067d7f838259989d0e817b1059d821 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 8252b88294d2a744df6e3c6d85909ade403a5f2c (diff) |
powerpc/rtas: strengthen do_enter_rtas() type safety, drop inline
Make do_enter_rtas() take a pointer to struct rtas_args and do the
__pa() conversion in one place instead of leaving it to callers. This
also makes it possible to introduce enter/exit tracepoints that access
the rtas_args struct fields.
There's no apparent reason to force inlining of do_enter_rtas()
either, and it seems to bloat the code a bit. Let the compiler decide.
Signed-off-by: Nathan Lynch <[email protected]>
Reviewed-by: Andrew Donnellan <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
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