diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2022-06-01 19:13:38 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2022-06-02 12:55:29 +0200 |
commit | 1bec877bdb763999112ad05d243bd538966938b4 (patch) | |
tree | 275a4539d738d70a45dee81b1c916ed34584fa13 /arch | |
parent | ftrace/fgraph: fix increased missing-prototypes warnings (diff) | |
download | linux-1bec877bdb763999112ad05d243bd538966938b4.tar.xz linux-1bec877bdb763999112ad05d243bd538966938b4.zip |
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 <catalin.marinas@arm.com>
Fixes: 39782210eb7e ("arm64/sme: Implement ZA signal handling")
Reported-by: kernel test robot <lkp@intel.com>
Cc: Mark Brown <broonie@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220601171338.2143625-1-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/kernel/signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c index 18bf590dc1c7..03810a759f91 100644 --- a/arch/arm64/kernel/signal.c +++ b/arch/arm64/kernel/signal.c @@ -385,7 +385,7 @@ static int preserve_za_context(struct za_context __user *ctx) 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; unsigned int vq; |