diff options
author | Joey Gouly <[email protected]> | 2024-09-10 11:50:04 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2024-09-10 18:19:59 +0100 |
commit | 10166c23f41367b6aaebd403af86caab22466c22 (patch) | |
tree | e8a640d75a4eecd8abb96d8af9353fe84281d2a4 /arch/arm64/include/asm/processor.h | |
parent | 6a428d63717add52bba4175a7fde54d1f9d166e0 (diff) |
arm64: pkeys: remove redundant WARN
FEAT_PAN3 is present if FEAT_S1POE is, this WARN() was to represent that.
However execute_only_pkey() is always called by mmap(), even on a CPU without
POE support.
Rather than making the WARN() conditional, just delete it.
Reported-by: Naresh Kamboju <[email protected]>
Link: https://lore.kernel.org/linux-arm-kernel/CA+G9fYvarKEPN3u1Ogw2pcw4h6r3OMzg+5qJpYkAXRunAEF_0Q@mail.gmail.com/
Signed-off-by: Joey Gouly <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'arch/arm64/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions