summaryrefslogtreecommitdiff
path: root/lib/strnlen_user.c
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2022-07-03 14:08:46 +0100
committerMarc Zyngier <maz@kernel.org>2022-07-17 11:55:32 +0100
commitda8d120fbafe1d3217d25ac45493538b37cff87c (patch)
tree2a0d063a48d40d68080ebf063b1e1ae655079515 /lib/strnlen_user.c
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e (diff)
KVM: arm64: Add get_reg_by_id() as a sys_reg_desc retrieving helper
find_reg_by_id() requires a sys_reg_param as input, which most users provide as a on-stack variable, but don't make any use of the result. Provide a helper that doesn't have this requirement and simplify the callers (all but one). Reviewed-by: Reiji Watanabe <reijiw@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'lib/strnlen_user.c')
0 files changed, 0 insertions, 0 deletions