]> 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)
commit8a047cdbedd7416b558056a21c93daaab8619f59
tree275a4539d738d70a45dee81b1c916ed34584fa13
parent79ad1a1bdadcf31adcf277011f8c3169f3bdfbc6
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: f723cd5fcf09 ("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