[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <YulSY1pDms0ZyNs9@debian>
Date: Tue, 2 Aug 2022 17:35:47 +0100
From: "Sudip Mukherjee (Codethink)" <sudipm.mukherjee@...il.com>
To: Nathan Chancellor <nathan@...nel.org>,
Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
"Maciej W. Rozycki" <macro@...am.me.uk>
Cc: linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org,
torvalds@...ux-foundation.org,
clang-built-linux <llvm@...ts.linux.dev>
Subject: mips maltaup_xpa_defconfig build failure with clang
Hi All,
Not sure if it has been reported, mips maltaup_xpa_defconfig fails to
build with clang with the error:
arch/mips/mm/tlbex.c:629:24: error: converting the result of '<<' to a boolean; did you mean '(1 << _PAGE_NO_EXEC_SHIFT) != 0'? [-Werror,-Wint-in-bool-context]
if (cpu_has_rixi && !!_PAGE_NO_EXEC) {
^
./arch/mips/include/asm/pgtable-bits.h:174:28: note: expanded from macro '_PAGE_NO_EXEC'
# define _PAGE_NO_EXEC (1 << _PAGE_NO_EXEC_SHIFT)
^
arch/mips/mm/tlbex.c:2568:24: error: converting the result of '<<' to a boolean; did you mean '(1 << _PAGE_NO_EXEC_SHIFT) != 0'? [-Werror,-Wint-in-bool-context]
if (!cpu_has_rixi || !_PAGE_NO_EXEC) {
^
./arch/mips/include/asm/pgtable-bits.h:174:28: note: expanded from macro '_PAGE_NO_EXEC'
# define _PAGE_NO_EXEC (1 << _PAGE_NO_EXEC_SHIFT)
^
--
Regards
Sudip
Powered by blists - more mailing lists