Linux-Next discussions
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build failure after merge of the paulmck tree
Date: Fri, 31 Jul 2026 15:49:38 +0100	[thread overview]
Message-ID: <amy2ApH8MZnll3Ff@sirena.org.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 5653 bytes --]

Hi all,

After merging the paulmck tree, today's linux-next build
(arm64 allnoconfig) failed like this:

In file included from /tmp/next/build/arch/arm64/include/asm/rwonce.h:81,
                 from /tmp/next/build/include/linux/compiler.h:369,
                 from /tmp/next/build/include/linux/proc_fs.h:8,
                 from /tmp/next/build/kernel/time/timer_list.c:8:
/tmp/next/build/kernel/time/timer_list.c: In function 'print_base':
/tmp/next/build/include/asm-generic/rwonce.h:44:71: error: lvalue required as unary '&' operand
   44 | #define __READ_ONCE(x)  (*(const volatile __unqual_scalar_typeof(x) *)&(x))
      |                                                                       ^
/tmp/next/build/include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE'
   50 |         __READ_ONCE(x);                                                 \
      |         ^~~~~~~~~~~
/tmp/next/build/kernel/time/timer_list.c:102:52: note: in expansion of macro 'READ_ONCE'
  102 |         SEQ_printf(m, "  .resolution: %u nsecs\n", READ_ONCE(hrtimer_resolution));
      |                                                    ^~~~~~~~~
make[5]: *** [/tmp/next/build/scripts/Makefile.build:290: kernel/time/timer_list.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from /tmp/next/build/arch/arm64/include/asm/rwonce.h:81,
                 from /tmp/next/build/include/linux/compiler.h:369,
                 from /tmp/next/build/include/linux/build_bug.h:5,
                 from /tmp/next/build/include/linux/bits.h:30,
                 from /tmp/next/build/include/linux/bitops.h:6,
                 from /tmp/next/build/arch/arm64/include/asm/cache.h:40,
                 from /tmp/next/build/include/vdso/cache.h:5,
                 from /tmp/next/build/include/linux/cache.h:6,
                 from /tmp/next/build/include/linux/time.h:5,
                 from /tmp/next/build/kernel/time/alarmtimer.c:15:
/tmp/next/build/kernel/time/alarmtimer.c: In function 'alarm_clock_getres':
/tmp/next/build/include/asm-generic/rwonce.h:44:71: error: lvalue required as unary '&' operand
   44 | #define __READ_ONCE(x)  (*(const volatile __unqual_scalar_typeof(x) *)&(x))
      |                                                                       ^
/tmp/next/build/include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE'
   50 |         __READ_ONCE(x);                                                 \
      |         ^~~~~~~~~~~
/tmp/next/build/kernel/time/alarmtimer.c:606:23: note: in expansion of macro 'READ_ONCE'
  606 |         tp->tv_nsec = READ_ONCE(hrtimer_resolution);
      |                       ^~~~~~~~~
make[5]: *** [/tmp/next/build/scripts/Makefile.build:290: kernel/time/alarmtimer.o] Error 1
In file included from /tmp/next/build/arch/arm64/include/asm/rwonce.h:81,
                 from /tmp/next/build/include/linux/compiler.h:369,
                 from /tmp/next/build/include/linux/dev_printk.h:14,
                 from /tmp/next/build/include/linux/device.h:15,
                 from /tmp/next/build/include/linux/node.h:18,
                 from /tmp/next/build/include/linux/cpu.h:17,
                 from /tmp/next/build/kernel/time/hrtimer.c:25:
/tmp/next/build/kernel/time/hrtimer.c: In function 'hrtimer_forward':
/tmp/next/build/include/asm-generic/rwonce.h:44:71: error: lvalue required as unary '&' operand
   44 | #define __READ_ONCE(x)  (*(const volatile __unqual_scalar_typeof(x) *)&(x))
      |                                                                       ^
/tmp/next/build/include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE'
   50 |         __READ_ONCE(x);                                                 \
      |         ^~~~~~~~~~~
/tmp/next/build/kernel/time/hrtimer.c:1100:15: note: in expansion of macro 'READ_ONCE'
 1100 |         res = READ_ONCE(hrtimer_resolution);
      |               ^~~~~~~~~
make[5]: *** [/tmp/next/build/scripts/Makefile.build:290: kernel/time/hrtimer.o] Error 1
In file included from /tmp/next/build/arch/arm64/include/asm/rwonce.h:81,
                 from /tmp/next/build/include/linux/compiler.h:369,
                 from /tmp/next/build/include/linux/build_bug.h:5,
                 from /tmp/next/build/include/linux/bits.h:30,
                 from /tmp/next/build/include/linux/bitops.h:6,
                 from /tmp/next/build/arch/arm64/include/asm/cache.h:40,
                 from /tmp/next/build/include/vdso/cache.h:5,
                 from /tmp/next/build/include/linux/cache.h:6,
                 from /tmp/next/build/include/linux/time.h:5,
                 from /tmp/next/build/include/linux/compat.h:10,
                 from /tmp/next/build/kernel/time/posix-timers.c:12:
/tmp/next/build/kernel/time/posix-timers.c: In function 'posix_get_hrtimer_res':
/tmp/next/build/include/asm-generic/rwonce.h:44:71: error: lvalue required as unary '&' operand
   44 | #define __READ_ONCE(x)  (*(const volatile __unqual_scalar_typeof(x) *)&(x))
      |                                                                       ^
/tmp/next/build/include/asm-generic/rwonce.h:50:9: note: in expansion of macro '__READ_ONCE'
   50 |         __READ_ONCE(x);                                                 \
      |         ^~~~~~~~~~~
/tmp/next/build/kernel/time/posix-timers.c:275:23: note: in expansion of macro 'READ_ONCE'
  275 |         tp->tv_nsec = READ_ONCE(hrtimer_resolution);
      |                       ^~~~~~~~~

Caused by commit

   84f2a4fba1353 (hrtimer: Apply {READ,WRITE}_ONCE() to hrtimer_resolution accesses)

I used the tree from next-20260730 instead.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2026-07-31 14:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-31 14:49 Mark Brown [this message]
2026-07-31 16:15 ` linux-next: build failure after merge of the paulmck tree Paul E. McKenney
  -- strict thread matches above, loose matches on Subject: below --
2024-06-19 13:49 Mark Brown
2024-06-19 17:29 ` Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=amy2ApH8MZnll3Ff@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=paulmck@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox