Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934730AbZLGIo2 (ORCPT ); Mon, 7 Dec 2009 03:44:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933622AbZLGIoZ (ORCPT ); Mon, 7 Dec 2009 03:44:25 -0500 Received: from chilli.pcug.org.au ([203.10.76.44]:55395 "EHLO smtps.tip.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933582AbZLGIoY (ORCPT ); Mon, 7 Dec 2009 03:44:24 -0500 Date: Mon, 7 Dec 2009 19:44:29 +1100 From: Stephen Rothwell To: Jens Axboe Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Vivek Goyal Subject: linux-next: block tree build failure Message-Id: <20091207194429.d33903ed.sfr@canb.auug.org.au> X-Mailer: Sylpheed 3.0.0beta3 (GTK+ 2.18.4; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1485 Lines: 48 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); -- 1.6.5.3 -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ -- 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/