]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Remove the __user annotation for the restore_za_context() argument
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 1 Jun 2022 17:13:38 +0000 (18:13 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 2 Jun 2022 10:55:29 +0000 (11:55 +0100)
commit1bec877bdb763999112ad05d243bd538966938b4
tree275a4539d738d70a45dee81b1c916ed34584fa13
parentff979b2a9d9779382030023bfc4e3b1989c8c314
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>
arch/arm64/kernel/signal.c