diff options
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.c')
| -rw-r--r-- | drivers/scsi/qla4xxx/ql4_nx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c index d2b333d629be..5a31877c9d04 100644 --- a/drivers/scsi/qla4xxx/ql4_nx.c +++ b/drivers/scsi/qla4xxx/ql4_nx.c | |||
| @@ -4052,8 +4052,8 @@ int qla4_8xxx_get_sys_info(struct scsi_qla_host *ha) | |||
| 4052 | dma_addr_t sys_info_dma; | 4052 | dma_addr_t sys_info_dma; |
| 4053 | int status = QLA_ERROR; | 4053 | int status = QLA_ERROR; |
| 4054 | 4054 | ||
| 4055 | sys_info = dma_zalloc_coherent(&ha->pdev->dev, sizeof(*sys_info), | 4055 | sys_info = dma_alloc_coherent(&ha->pdev->dev, sizeof(*sys_info), |
| 4056 | &sys_info_dma, GFP_KERNEL); | 4056 | &sys_info_dma, GFP_KERNEL); |
| 4057 | if (sys_info == NULL) { | 4057 | if (sys_info == NULL) { |
| 4058 | DEBUG2(printk("scsi%ld: %s: Unable to allocate dma buffer.\n", | 4058 | DEBUG2(printk("scsi%ld: %s: Unable to allocate dma buffer.\n", |
| 4059 | ha->host_no, __func__)); | 4059 | ha->host_no, __func__)); |
