Skip to content

Commit 1bec877

Browse files
committed
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: Catalin Marinas <[email protected]> Fixes: 3978221 ("arm64/sme: Implement ZA signal handling") Reported-by: kernel test robot <[email protected]> Cc: Mark Brown <[email protected]> Reviewed-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent ff979b2 commit 1bec877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/signal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ static int preserve_za_context(struct za_context __user *ctx)
385385
return err ? -EFAULT : 0;
386386
}
387387

388-
static int restore_za_context(struct user_ctxs __user *user)
388+
static int restore_za_context(struct user_ctxs *user)
389389
{
390390
int err;
391391
unsigned int vq;

0 commit comments

Comments
 (0)