From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: linux-next: build warnings in Linus' tree Date: Thu, 13 Jan 2011 17:06:07 -0800 Message-ID: <20110114010607.GA27486@kroah.com> References: <20110114110952.bb7d6f37.sfr@canb.auug.org.au> <20110113161700.a82a0ae2.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from kroah.org ([198.145.64.141]:59639 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752343Ab1ANBHB (ORCPT ); Thu, 13 Jan 2011 20:07:01 -0500 Content-Disposition: inline In-Reply-To: <20110113161700.a82a0ae2.akpm@linux-foundation.org> Sender: linux-next-owner@vger.kernel.org List-ID: To: Andrew Morton Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Wolfram Sang , Linus On Thu, Jan 13, 2011 at 04:17:00PM -0800, Andrew Morton wrote: > On Fri, 14 Jan 2011 11:09:52 +1100 > Stephen Rothwell wrote: > > > drivers/net/wireless/p54/p54spi.c:642: warning: ignoring return value of 'gpio_direction_input', declared with attribute warn_unused_result > > > > Introduced by commit 0fdae42d361bbb431ca0ab0efed5126a94821177 ("gpiolib: > > annotate gpio-intialization with __must_check"). > > Complete brainfart - I meant to drop that patch ages ago. Ick, yeah, that patch isn't ok to go in as-is, all of the callers need to be fixed up first, which is what I thought we had agreed on... thanks, greg k-h