[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200721044307.6b263e5b@canb.auug.org.au>
Date: Tue, 21 Jul 2020 04:43:07 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: Linux Next Mailing List <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
KVM <kvm@...r.kernel.org>, Paolo Bonzini <pbonzini@...hat.com>,
"Paul E. McKenney" <paulmck@...nel.org>,
Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
Subject: Re: linux-next: Tree for Jul 20 (arch/x86/kvm/)
Hi Randy,
On Mon, 20 Jul 2020 09:56:08 -0700 Randy Dunlap <rdunlap@...radead.org> wrote:
>
> on x86_64:
>
> CC [M] arch/x86/kvm/mmu/page_track.o
> In file included from ../include/linux/pid.h:5:0,
> from ../include/linux/sched.h:14,
> from ../include/linux/kvm_host.h:12,
> from ../arch/x86/kvm/mmu/page_track.c:14:
> ../arch/x86/kvm/mmu/page_track.c: In function ‘kvm_page_track_write’:
> ../include/linux/rculist.h:727:30: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
> for (__list_check_srcu(cond), \
> ^
> ../arch/x86/kvm/mmu/page_track.c:232:2: note: in expansion of macro ‘hlist_for_each_entry_srcu’
> hlist_for_each_entry_srcu(n, &head->track_notifier_list, node,
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> ../arch/x86/kvm/mmu/page_track.c: In function ‘kvm_page_track_flush_slot’:
> ../include/linux/rculist.h:727:30: error: left-hand operand of comma expression has no effect [-Werror=unused-value]
> for (__list_check_srcu(cond), \
> ^
> ../arch/x86/kvm/mmu/page_track.c:258:2: note: in expansion of macro ‘hlist_for_each_entry_srcu’
> hlist_for_each_entry_srcu(n, &head->track_notifier_list, node,
> ^~~~~~~~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
Caused by commit
bd4444c47de9 ("rculist : Introduce list/hlist_for_each_entry_srcu() macros")
presumably with CONFIG_PROVE_RCU_LIST not set.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists