Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932543AbYF3SWH (ORCPT ); Mon, 30 Jun 2008 14:22:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762364AbYF3SVH (ORCPT ); Mon, 30 Jun 2008 14:21:07 -0400 Received: from E23SMTP06.au.ibm.com ([202.81.18.175]:44536 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763661AbYF3SVF (ORCPT ); Mon, 30 Jun 2008 14:21:05 -0400 Message-ID: <4869240C.9060503@linux.vnet.ibm.com> Date: Mon, 30 Jun 2008 23:51:00 +0530 From: Kamalesh Babulal User-Agent: Thunderbird 1.5.0.14ubu (X11/20080505) MIME-Version: 1.0 To: Jens Axboe CC: Stephen Rothwell , linux-next@vger.kernel.org, LKML , Andy Whitcroft Subject: Re: [BUILD-FAILURE] linux-next: Tree for June 30 References: <20080701001656.e156585c.sfr@canb.auug.org.au> <48690385.7030500@linux.vnet.ibm.com> <20080630175925.GQ20826@kernel.dk> In-Reply-To: <20080630175925.GQ20826@kernel.dk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1937 Lines: 59 Jens Axboe wrote: > On Mon, Jun 30 2008, Kamalesh Babulal wrote: >> Hi Stephen, >> >> next-20080630 kernel build fails x86 box >> >> fs/bio-integrity.c: In function `bio_integrity_add_page': >> include/linux/bio.h:368: sorry, unimplemented: inlining failed in call to 'bvec_nr_vecs': function body not available >> fs/bio-integrity.c:135: sorry, unimplemented: called from here >> make[1]: *** [fs/bio-integrity.o] Error 1 >> make: *** [fs] Error 2 > > Gah, I can't believe gcc errors on that. This should fix it, I'll > integrate with the patchset. Hi Jens, Thanks, the patch fixes the build failure. > > diff --git a/fs/bio.c b/fs/bio.c > index bc865b1..7761c84 100644 > --- a/fs/bio.c > +++ b/fs/bio.c > @@ -50,7 +50,7 @@ static struct biovec_slab bvec_slabs[BIOVEC_NR_POOLS] __read_mostly = { > */ > struct bio_set *fs_bio_set; > > -inline unsigned int bvec_nr_vecs(unsigned short idx) > +unsigned int bvec_nr_vecs(unsigned short idx) > { > return bvec_slabs[idx].nr_vecs; > } > diff --git a/include/linux/bio.h b/include/linux/bio.h > index 62f0be9..0933a14 100644 > --- a/include/linux/bio.h > +++ b/include/linux/bio.h > @@ -365,7 +365,7 @@ extern struct bio *bio_copy_user_iov(struct request_queue *, struct sg_iovec *, > extern int bio_uncopy_user(struct bio *); > void zero_fill_bio(struct bio *bio); > extern struct bio_vec *bvec_alloc_bs(gfp_t, int, unsigned long *, struct bio_set *); > -extern inline unsigned int bvec_nr_vecs(unsigned short idx); > +extern unsigned int bvec_nr_vecs(unsigned short idx); > > /* > * bio_set is used to allow other portions of the IO system to > -- Thanks & Regards, Kamalesh Babulal, Linux Technology Center, IBM, ISTL. -- 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/