From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: linux-next: block tree build failure Date: Mon, 7 Dec 2009 09:49:03 +0100 Message-ID: <20091207084903.GU8742@kernel.dk> References: <20091207194429.d33903ed.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from 0122700014.0.fullrate.dk ([95.166.99.235]:50945 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933590AbZLGIs5 (ORCPT ); Mon, 7 Dec 2009 03:48:57 -0500 Content-Disposition: inline In-Reply-To: <20091207194429.d33903ed.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Vivek Goyal On Mon, Dec 07 2009, Stephen Rothwell wrote: > Hi Jens, > > Today's linux-next build (powerpc allyesconfig) failed like this: > > block/blk-cgroup.c: In function 'blkiocg_create': > block/blk-cgroup.c:285: error: implicit declaration of function 'ERR_PTR' > block/blk-cgroup.c:285: warning: return makes pointer from integer without a cast > block/blk-cgroup.c:289: warning: return makes pointer from integer without a cast > > Caused by commit 31e4c28d95e64f2d5d3c497a3ecf37c62de635b4 ("blkio: > Introduce blkio controller cgroup interface"). > > I applied this patch for today: > > From: Stephen Rothwell > Date: Mon, 7 Dec 2009 19:29:39 +1100 > Subject: [PATCH] block: include linux/err.h to use ERR_PTR > > Signed-off-by: Stephen Rothwell > --- > block/blk-cgroup.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c > index 3ad497f..1fa2654 100644 > --- a/block/blk-cgroup.c > +++ b/block/blk-cgroup.c > @@ -14,6 +14,7 @@ > #include > #include > #include > +#include > #include "blk-cgroup.h" > > static DEFINE_SPINLOCK(blkio_list_lock); Thanks Stephen, I merged your patch and updated the branches. -- Jens Axboe