diff options
Diffstat (limited to 'drivers/scsi/sg.c')
-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 58ec8f4efcc2..5428d53f5a13 100644 --- a/drivers/scsi/sg.c +++ b/drivers/scsi/sg.c | |||
@@ -1660,7 +1660,7 @@ static int sg_start_req(Sg_request *srp, unsigned char *cmd) | |||
1660 | if (sg_allow_dio && hp->flags & SG_FLAG_DIRECT_IO && | 1660 | if (sg_allow_dio && hp->flags & SG_FLAG_DIRECT_IO && |
1661 | dxfer_dir != SG_DXFER_UNKNOWN && !iov_count && | 1661 | dxfer_dir != SG_DXFER_UNKNOWN && !iov_count && |
1662 | !sfp->parentdp->device->host->unchecked_isa_dma && | 1662 | !sfp->parentdp->device->host->unchecked_isa_dma && |
1663 | blk_rq_aligned(q, hp->dxferp, dxfer_len)) | 1663 | blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) |
1664 | md = NULL; | 1664 | md = NULL; |
1665 | else | 1665 | else |
1666 | md = &map_data; | 1666 | md = &map_data; |