Commit 1bec877b authored by Catalin Marinas's avatar Catalin Marinas

arm64: Remove the __user annotation for the restore_za_context() argument

The struct user_ctx *user pointer passed to restore_za_context() is not
a user point but a structure containing several __user pointers. Remove
the __user annotation.
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Fixes: 39782210 ("arm64/sme: Implement ZA signal handling")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Cc: Mark Brown <broonie@kernel.org>
Reviewed-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220601171338.2143625-1-catalin.marinas@arm.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent ff979b2a
...@@ -385,7 +385,7 @@ static int preserve_za_context(struct za_context __user *ctx) ...@@ -385,7 +385,7 @@ static int preserve_za_context(struct za_context __user *ctx)
return err ? -EFAULT : 0; return err ? -EFAULT : 0;
} }
static int restore_za_context(struct user_ctxs __user *user) static int restore_za_context(struct user_ctxs *user)
{ {
int err; int err;
unsigned int vq; unsigned int vq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment