aboutsummaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2021-03-19 16:53:33 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2021-03-24 15:43:20 +0000
commitb4e1fa2290691fda4392ac479115ee3b04a7534c (patch)
treef8939356eac95d4113cd9717861e5440d8a4ee0a /usr
parentkselftest/arm64: mte: Makefile: Fix clang compilation (diff)
downloadlinux-dev-b4e1fa2290691fda4392ac479115ee3b04a7534c.tar.xz
linux-dev-b4e1fa2290691fda4392ac479115ee3b04a7534c.zip
kselftest/arm64: mte: Fix clang warning
if (!prctl(...) == 0) is not only cumbersome to read, it also upsets clang and triggers a warning: ------------ mte_common_util.c:287:6: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] .... Fix that by just comparing against "not 0" instead. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Mark Brown <broone@kernel.org> Link: https://lore.kernel.org/r/20210319165334.29213-11-andre.przywara@arm.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions