[PATCH] arm64: mte: change PR_MTE_TCF_NONE back into an unsigned long

Will Deacon will at kernel.org
Mon Nov 8 02:37:51 PST 2021


On Fri, 5 Nov 2021 16:08:29 -0700, Peter Collingbourne wrote:
> This constant was previously an unsigned long, but was changed
> into an int in commit 433c38f40f6a ("arm64: mte: change ASYNC and
> SYNC TCF settings into bitfields"). This ended up causing spurious
> unsigned-signed comparison warnings in expressions such as:
> 
> (x & PR_MTE_TCF_MASK) != PR_MTE_TCF_NONE
> 
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] arm64: mte: change PR_MTE_TCF_NONE back into an unsigned long
      https://git.kernel.org/arm64/c/aedad3e1c6dd

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list