diff options
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx2fc/bnx2fc_io.c index c661ccd3d496..60798e829de6 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_io.c +++ b/drivers/scsi/bnx2fc/bnx2fc_io.c | |||
@@ -654,7 +654,7 @@ int bnx2fc_init_mp_req(struct bnx2fc_cmd *io_req) | |||
654 | mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, | 654 | mp_req->mp_resp_bd = dma_alloc_coherent(&hba->pcidev->dev, sz, |
655 | &mp_req->mp_resp_bd_dma, | 655 | &mp_req->mp_resp_bd_dma, |
656 | GFP_ATOMIC); | 656 | GFP_ATOMIC); |
657 | if (!mp_req->mp_req_bd) { | 657 | if (!mp_req->mp_resp_bd) { |
658 | printk(KERN_ERR PFX "unable to alloc MP resp bd\n"); | 658 | printk(KERN_ERR PFX "unable to alloc MP resp bd\n"); |
659 | bnx2fc_free_mp_resc(io_req); | 659 | bnx2fc_free_mp_resc(io_req); |
660 | return FAILED; | 660 | return FAILED; |