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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250708160830.36ddf20f@canb.auug.org.au>
Date: Tue, 8 Jul 2025 16:08:30 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...nel.org>,
 "H. Peter Anvin" <hpa@...or.com>, Peter Zijlstra <peterz@...radead.org>
Cc: Thomas Weißschuh <thomas.weissschuh@...utronix.de>,
 Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next
 Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: build warning after merge of the tip tree

Hi all,

After merging the tip tree, today's linux-next build (powerpc
ppc64_allmodconfig) produced this warning:

In file included from include/vdso/datapage.h:8,
                 from lib/vdso/gettimeofday.c:6,
                 from <command-line>:
lib/vdso/gettimeofday.c: In function '__cvdso_clock_gettime_common':
include/uapi/linux/bits.h:7:56: warning: right shift count >= width of type [-Wshift-count-overflow]
    7 | #define __GENMASK(h, l) (((~_UL(0)) << (l)) & (~_UL(0) >> (BITS_PER_LONG - 1 - (h))))
      |                                                        ^~
include/vdso/datapage.h:50:25: note: in expansion of macro '__GENMASK'
   50 | #define VDSO_AUX        __GENMASK(CLOCK_AUX_LAST, CLOCK_AUX)
      |                         ^~~~~~~~~
lib/vdso/gettimeofday.c:335:24: note: in expansion of macro 'VDSO_AUX'
  335 |         else if (msk & VDSO_AUX)
      |                        ^~~~~~~~
lib/vdso/gettimeofday.c: In function '__cvdso_clock_getres_common':
include/uapi/linux/bits.h:7:56: warning: right shift count >= width of type [-Wshift-count-overflow]
    7 | #define __GENMASK(h, l) (((~_UL(0)) << (l)) & (~_UL(0) >> (BITS_PER_LONG - 1 - (h))))
      |                                                        ^~
include/vdso/datapage.h:50:25: note: in expansion of macro '__GENMASK'
   50 | #define VDSO_AUX        __GENMASK(CLOCK_AUX_LAST, CLOCK_AUX)
      |                         ^~~~~~~~~
lib/vdso/gettimeofday.c:481:26: note: in expansion of macro 'VDSO_AUX'
  481 |         } else if (msk & VDSO_AUX) {
      |                          ^~~~~~~~

Introduced by commit

  7893ea1006fc ("vdso/gettimeofday: Add support for auxiliary clocks")

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ