summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2026-10-05 19:02:37 -0600
committerPaul Walmsley <pjw@kernel.org>2026-10-05 19:02:37 -0600
commit756724133bd3b89e097c92110221b44cafe0d06a (patch)
tree33cba00553e5bbb6630f9d14b678c6915cb55e38 /scripts/Makefile.thinlto
parentedba6017c19f97ecc718fad6b50e0908392247ac (diff)
downloadlinux-next-756724133bd3b89e097c92110221b44cafe0d06a.tar.gz
linux-next-756724133bd3b89e097c92110221b44cafe0d06a.zip
riscv: limit sifive errata to CONFIG_64BIT
There are two errata for this vendor, and they both individually depend on CONFIG_64BIT already. However, an 32-bit allmodconfig produces this warning from clang for a condition that can never be true. arch/riscv/errata/sifive/errata.c:29:14: error: result of comparison of constant 9223372036854775815 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] 29 | if (arch_id != 0x8000000000000007 || | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ arch/riscv/errata/sifive/errata.c:42:14: error: result of comparison of constant 9223372036854775815 with expression of type 'unsigned long' is always true [-Werror,-Wtautological-constant-out-of-range-compare] 42 | if (arch_id != 0x8000000000000007 && arch_id != 0x1) | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://patch.msgid.link/20260916083752.47310-1-arnd@kernel.org Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions