mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
This constant was previously an unsigned long, but was changed into an int in commit433c38f40f("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 Therefore, change it back into an unsigned long to silence these warnings. Link: https://linux-review.googlesource.com/id/I07a72310db30227a5b7d789d0b817d78b657c639 Signed-off-by: Peter Collingbourne <pcc@google.com> Link: https://lore.kernel.org/r/20211105230829.2254790-1-pcc@google.com Signed-off-by: Will Deacon <will@kernel.org> (cherry picked from commitaedad3e1c6) Bug: 217222520 Change-Id: I6eaf7128705698250a5cf85e93e297b6f1ee8e66 Signed-off-by: Andrey Konovalov <andreyknvl@google.com>