]> 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)
commitcaf31d081131e81109916a35c5d86a319b6058ef
tree275a4539d738d70a45dee81b1c916ed34584fa13
parent86d062c353662d0ae17929beca229a9fa93ca6e4
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: 7b78f7018622 ("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