Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753609Ab1DTTBd (ORCPT ); Wed, 20 Apr 2011 15:01:33 -0400 Received: from cantor.suse.de ([195.135.220.2]:43930 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752101Ab1DTTBb (ORCPT ); Wed, 20 Apr 2011 15:01:31 -0400 Date: Wed, 20 Apr 2011 21:01:30 +0200 Message-ID: From: Takashi Iwai To: Randy Dunlap Cc: Stephen Rothwell , linux-next@vger.kernel.org, LKML Subject: Re: linux-next: Tree for April 20 In-Reply-To: <20110420110224.e3974722.rdunlap@xenotime.net> References: <20110420144329.fce0e28e.sfr@canb.auug.org.au> <20110420110224.e3974722.rdunlap@xenotime.net> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1716 Lines: 53 At Wed, 20 Apr 2011 11:02:24 -0700, Randy Dunlap wrote: > > On Wed, 20 Apr 2011 14:43:29 +1000 Stephen Rothwell wrote: > > > Hi all, > > > Merging sound/for-next > > Merging sound-asoc/for-next > > Takashi, > > mainline contains commit a2800300f28bd1814f3ba8cfd93ecb0b00c2dfe3 > Author: Takashi Iwai > Date: Tue Mar 8 18:20:46 2011 +0100 > ALSA: asihpi - Use %zd for size_t argument in error message > > which changes: > --- a/sound/pci/asihpi/hpi6205.c > +++ b/sound/pci/asihpi/hpi6205.c > @@ -2088,7 +2088,7 @@ static u16 message_response_sequence(struct hpi_adapter_ob > j *pao, > phr->specific_error = sizeof(interface->u); > phr->size = sizeof(struct hpi_response_header); > HPI_DEBUG_LOG(ERROR, > - "message len %d too big for buffer %ld \n", phm->size, > + "message len %d too big for buffer %zd \n", phm->size, > sizeof(interface->u)); > return 0; > } > > > However, it looks like there is a patch in your for-next branch which undoes > that commit, since hpi6205.c still uses %ld to print the sizeof() value and this > warning is still produced: > > linux-next-20110420/sound/pci/asihpi/hpi6205.c:2091: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int' > > > Please drop at least that one line from for-next. > > or am I completely befuddled? The fix was reverted in the recent update of the driver, indeed. I overlooked it. Thanks for noticing. Fixed now. Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/