Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755166AbYH1OTw (ORCPT ); Thu, 28 Aug 2008 10:19:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753007AbYH1OTp (ORCPT ); Thu, 28 Aug 2008 10:19:45 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:39053 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726AbYH1OTp (ORCPT ); Thu, 28 Aug 2008 10:19:45 -0400 Date: Thu, 28 Aug 2008 10:19:33 -0400 From: Christoph Hellwig To: Jens Axboe Cc: Harvey Harrison , Andrew Morton , LKML Subject: Re: [PATCH] block: kmalloc args reversed, small function definition fixes Message-ID: <20080828141933.GA8937@infradead.org> References: <1219868669.6069.53.camel@brick> <20080828072621.GQ20055@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080828072621.GQ20055@kernel.dk> User-Agent: Mutt/1.5.18 (2008-05-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1157 Lines: 21 On Thu, Aug 28, 2008 at 09:26:21AM +0200, Jens Axboe wrote: > On Wed, Aug 27 2008, Harvey Harrison wrote: > > Noticed by sparse: > > block/blk-softirq.c:156:12: warning: symbol 'blk_softirq_init' was not declared. Should it be static? > > block/genhd.c:583:28: warning: function 'bdget_disk' with external linkage has definition > > block/genhd.c:659:17: warning: incorrect type in argument 1 (different base types) > > block/genhd.c:659:17: expected unsigned int [unsigned] [usertype] size > > block/genhd.c:659:17: got restricted gfp_t > > block/genhd.c:659:29: warning: incorrect type in argument 2 (different base types) > > block/genhd.c:659:29: expected restricted gfp_t [usertype] flags > > block/genhd.c:659:29: got unsigned int > > block: kmalloc args reversed > > Woops, that kmalloc() is nasty. Thanks a lot, applied to for-2.6.28. Umm, the gfp bit sounds like a clear 2.6.27 candidate. -- 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/