linux-next: build failure after merge of the tip tree
From: Stephen Rothwell
Date: Sun Aug 25 2024 - 23:01:56 EST
Hi all,
After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
failed like this:
In file included from include/linux/bitops.h:7,
from include/linux/kernel.h:23,
from include/linux/cpumask.h:11,
from arch/x86/include/asm/paravirt.h:21,
from arch/x86/include/asm/cpuid.h:62,
from arch/x86/include/asm/processor.h:19,
from arch/x86/include/asm/timex.h:5,
from include/linux/timex.h:67,
from include/linux/clocksource.h:13,
from include/linux/timekeeper_internal.h:10,
from kernel/time/timekeeping.c:6:
kernel/time/timekeeping.c: In function 'timekeeping_check_update':
include/linux/typecheck.h:12:25: error: comparison of distinct pointer types lacks a cast [-Werror]
12 | (void)(&__dummy == &__dummy2); \
| ^~
include/linux/jiffies.h:129:10: note: in expansion of macro 'typecheck'
129 | typecheck(unsigned long, b) && \
| ^~~~~~~~~
kernel/time/timekeeping.c:220:21: note: in expansion of macro 'time_after'
220 | if (time_after(jiffies, tk->last_warning + WARNING_FREQ)) {
| ^~~~~~~~~~
include/linux/typecheck.h:12:25: error: comparison of distinct pointer types lacks a cast [-Werror]
12 | (void)(&__dummy == &__dummy2); \
| ^~
include/linux/jiffies.h:129:10: note: in expansion of macro 'typecheck'
129 | typecheck(unsigned long, b) && \
| ^~~~~~~~~
kernel/time/timekeeping.c:230:21: note: in expansion of macro 'time_after'
230 | if (time_after(jiffies, tk->last_warning + WARNING_FREQ)) {
| ^~~~~~~~~~
cc1: all warnings being treated as errors
Caused by commit
42db2c2cb5ac ("timekeeping: Use time_after() in timekeeping_check_update()")
I have used the tip tree from next-20240823 for today.
--
Cheers,
Stephen Rothwell
Attachment:
pgpFiqpnzpE_9.pgp
Description: OpenPGP digital signature