From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: linux-next: build warning after merge of the tip tree Date: Wed, 14 Sep 2011 11:37:55 +0200 (CEST) Message-ID: References: <20110914163455.fcc47a7aba8604c690988473@canb.auug.org.au> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from www.linutronix.de ([62.245.132.108]:40782 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755747Ab1INJiM (ORCPT ); Wed, 14 Sep 2011 05:38:12 -0400 In-Reply-To: <20110914163455.fcc47a7aba8604c690988473@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Shan Hai , Yong Zhang Archived-At: List-Archive: List-Post: On Wed, 14 Sep 2011, Stephen Rothwell wrote: > Hi all, > > After merging the tip tree, today's linux-next build (powerpc allnoconfig) > produced this warning: > > lib/atomic64.c: In function 'lock_addr': > lib/atomic64.c:42:2: warning: return from incompatible pointer type > > Introduced by commit f59ca05871a0 ("locking, lib/atomic64: Annotate > atomic64_lock::lock as raw"). This function (which is declared to return > "spinlock_t *") is now returning "raw_spinlock_t *". My bad, it seems I picked the wrong version of the patch.