From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Rothwell Subject: linux-next: build failure after merge of the rcu tree Date: Mon, 2 May 2016 14:37:36 +1000 Message-ID: <20160502143736.631f2a44@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from ozlabs.org ([103.22.144.67]:53327 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbcEBEhl (ORCPT ); Mon, 2 May 2016 00:37:41 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: "Paul E. McKenney" Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig Hi Paul, After merging the rcu tree, today's linux-next build (x86_64 allmodconfig) failed like this: arch/x86/kvm/vmx.c: In function 'vmx_init': arch/x86/kvm/vmx.c:11026:2: error: function '_r_a_p__v' is initialized like a variable rcu_assign_pointer(crash_vmclear_loaded_vmcss, ^ In file included from include/linux/rbtree.h:34:0, from include/linux/mm_types.h:9, from arch/x86/kvm/irq.h:25, from arch/x86/kvm/vmx.c:19: include/linux/rcupdate.h:657:45: warning: the comparison will always evaluate as 'false' for the address of '_r_a_p__v' will never be NULL [-Waddress] if (__builtin_constant_p(v) && (_r_a_p__v) == NULL) \ ^ arch/x86/kvm/vmx.c:11026:2: note: in expansion of macro 'rcu_assign_pointer' rcu_assign_pointer(crash_vmclear_loaded_vmcss, ^ include/linux/rcupdate.h:655:12: error: nested function '_r_a_p__v' declared but never defined typeof(v) _r_a_p__v = (v); \ ^ arch/x86/kvm/vmx.c:11026:2: note: in expansion of macro 'rcu_assign_pointer' rcu_assign_pointer(crash_vmclear_loaded_vmcss, ^ Caused by commit 16d7afcaa530 ("rcu: No ordering for rcu_assign_pointer() of NULL") I have reverted that commit for today. -- Cheers, Stephen Rothwell