On Mon, Feb 20, 2017 at 07:15:34PM +0100, Bartlomiej Zolnierkiewicz wrote: > From: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx> > 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 <geert@xxxxxxxxxxxxxx> > Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx> > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html