diff options
author | Matthias Kaehlcke <matthias.kaehlcke@gmail.com> | 2007-04-17 09:58:36 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-05-06 09:33:11 -0500 |
commit | b22c9d9bc214d602647c3f94e6072655c36a61db (patch) | |
tree | b0b6a34061bb931215c0367986dc7d1345c2aabb | |
parent | 4dbc22d7a9644088266a579433a3d621142a01e9 (diff) | |
download | linux-3.10-b22c9d9bc214d602647c3f94e6072655c36a61db.tar.gz linux-3.10-b22c9d9bc214d602647c3f94e6072655c36a61db.tar.bz2 linux-3.10-b22c9d9bc214d602647c3f94e6072655c36a61db.zip |
[SCSI] qla1280: use DMA_64BIT_MASK instead of ~ 0ULL
QLA1280: call pci_set_dma_mask with DMA_64BIT_MASK instead of ~ 0ULL
Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r-- | drivers/scsi/qla1280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 6777e8a6915..54d8bdf8685 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c @@ -4293,7 +4293,7 @@ qla1280_probe_one(struct pci_dev *pdev, const struct pci_device_id *id) ha->devnum = devnum; /* specifies microcode load address */ #ifdef QLA_64BIT_PTR - if (pci_set_dma_mask(ha->pdev, (dma_addr_t) ~ 0ULL)) { + if (pci_set_dma_mask(ha->pdev, DMA_64BIT_MASK)) { if (pci_set_dma_mask(ha->pdev, DMA_32BIT_MASK)) { printk(KERN_WARNING "scsi(%li): Unable to set a " "suitable DMA mask - aborting\n", ha->host_no); |