Commit 136ed814 authored by Catalin Marinas's avatar Catalin Marinas Committed by yanhaitao
Browse files

arm64: Remove the __user annotation for the restore_za_context() argument

mainline inclusion
from mainline-v5.19-rc1
commit 1bec877b
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8E73O
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1bec877bdb763999112ad05d243bd538966938b4



-------------------------------------------------

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: default avatarCatalin Marinas <catalin.marinas@arm.com>
Fixes: 39782210 ("arm64/sme: Implement ZA signal handling")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Cc: Mark Brown <broonie@kernel.org>
Reviewed-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20220601171338.2143625-1-catalin.marinas@arm.com


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Signed-off-by: default avatarWang ShaoBo <bobo.shaobowang@huawei.com>
parent 92cf5bf3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment