From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755502AbdHYJfx (ORCPT ); Fri, 25 Aug 2017 05:35:53 -0400 Received: from ozlabs.org ([103.22.144.67]:37961 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754705AbdHYJfv (ORCPT ); Fri, 25 Aug 2017 05:35:51 -0400 Date: Fri, 25 Aug 2017 19:35:48 +1000 From: Stephen Rothwell To: Christoph Hellwig Cc: Andrew Morton , Jens Axboe , Linux-Next Mailing List , Linux Kernel Mailing List , Minchan Kim Subject: Re: linux-next: build failure after merge of the akpm-current tree Message-ID: <20170825193548.404c7ad0@canb.auug.org.au> In-Reply-To: <20170825093419.GA11402@lst.de> References: <20170825181254.17e6541d@canb.auug.org.au> <20170825093419.GA11402@lst.de> 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 Hi Christoph, On Fri, 25 Aug 2017 11:34:19 +0200 Christoph Hellwig wrote: > > On Fri, Aug 25, 2017 at 06:12:54PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > After merging the akpm-current tree, today's linux-next build (x86_64 > > allmodconfig) failed like this: > > > > drivers/block/zram/zram_drv.c: In function 'read_from_bdev_a > > sync': > > drivers/block/zram/zram_drv.c:461:5: error: 'struct bio' has > > no member named 'bi_bdev' > > bio->bi_bdev = zram->bdev; > > ^ > > drivers/block/zram/zram_drv.c: In function 'write_to_bdev': > > drivers/block/zram/zram_drv.c:555:5: error: 'struct bio' has > > no member named 'bi_bdev' > > bio->bi_bdev = zram->bdev; > > Replace this with: > > bio_set_dev(bio, zram->bdev); Excellent thanks, I will do that in the next release. -- Cheers, Stephen Rothwell