diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/sg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c index 78d616315d8e..655ab920cff4 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -1657,7 +1657,7 @@ static int sg_start_req(Sg_request *srp, unsigned char *cmd) | |||
1657 | if (sg_allow_dio && hp->flags & SG_FLAG_DIRECT_IO && | 1657 | if (sg_allow_dio && hp->flags & SG_FLAG_DIRECT_IO && |
1658 | dxfer_dir != SG_DXFER_UNKNOWN && !iov_count && | 1658 | dxfer_dir != SG_DXFER_UNKNOWN && !iov_count && |
1659 | !sfp->parentdp->device->host->unchecked_isa_dma && | 1659 | !sfp->parentdp->device->host->unchecked_isa_dma && |
1660 | blk_rq_aligned(q, hp->dxferp, dxfer_len)) | 1660 | blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) |
1661 | md = NULL; | 1661 | md = NULL; |
1662 | else | 1662 | else |
1663 | md = &map_data; | 1663 | md = &map_data; |