From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753071AbdBUWSO (ORCPT ); Tue, 21 Feb 2017 17:18:14 -0500 Received: from mail-yb0-f193.google.com ([209.85.213.193]:33776 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752171AbdBUWSF (ORCPT ); Tue, 21 Feb 2017 17:18:05 -0500 Date: Tue, 21 Feb 2017 17:18:01 -0500 From: Tejun Heo To: Bartlomiej Zolnierkiewicz Cc: Geert Uytterhoeven , Michael Schmitz , "linux-ide@vger.kernel.org" , linux-m68k , "linux-kernel@vger.kernel.org" , Jens Axboe , Christoph Hellwig Subject: Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support Message-ID: <20170221221801.GE8260@htj.duckdns.org> References: <1483106478-1382-1-git-send-email-b.zolnierkie@samsung.com> <1548730.TDiBKU8UQt@amdc3058> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1548730.TDiBKU8UQt@amdc3058> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 20, 2017 at 07:15:34PM +0100, Bartlomiej Zolnierkiewicz wrote: > From: Bartlomiej Zolnierkiewicz > Subject: [PATCH] pata_falcon: build fix for block layer changes > > commit aebf526b53ae ("block: fold cmd_type into the REQ_OP_ > space") from the block tree removes cmd_type so pata_falcon > needs the following trivial update to make it build again. > > Reported-by: Geert Uytterhoeven > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > Tejun, I guess that you may need to fold this fix into > your pull request for 4.11 (block layer pull request has > been already sent by Jens so it will be most likely merged > first). > > drivers/ata/pata_falcon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Index: b/drivers/ata/pata_falcon.c > =================================================================== > --- a/drivers/ata/pata_falcon.c 2017-02-20 18:40:04.174989455 +0100 > +++ b/drivers/ata/pata_falcon.c 2017-02-20 18:42:59.482993870 +0100 > @@ -54,7 +54,7 @@ static unsigned int pata_falcon_data_xfe > bool swap = 1; > > if (dev->class == ATA_DEV_ATA && cmd && cmd->request && > - cmd->request->cmd_type == REQ_TYPE_FS) > + !blk_rq_is_passthrough(cmd->request)) Sent it along with the pull request. Thanks. -- tejun