lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240826130137.631e5e31@canb.auug.org.au>
Date: Mon, 26 Aug 2024 13:01:37 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
 "H. Peter Anvin" <hpa@...or.com>, Peter Zijlstra <peterz@...radead.org>
Cc: Chen Yufan <chenyufan@...o.com>, Linux Kernel Mailing List
 <linux-kernel@...r.kernel.org>, Linux Next Mailing List
 <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the tip tree

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

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ