diff options
Diffstat (limited to 'drivers/scsi/fnic/vnic_dev.c')
-rw-r--r-- | drivers/scsi/fnic/vnic_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fnic/vnic_dev.c b/drivers/scsi/fnic/vnic_dev.c index db710148d156..b576be734e2e 100644 --- a/drivers/scsi/fnic/vnic_dev.c +++ b/drivers/scsi/fnic/vnic_dev.c | |||
@@ -654,7 +654,7 @@ void vnic_dev_unregister(struct vnic_dev *vdev) | |||
654 | vdev->linkstatus_pa); | 654 | vdev->linkstatus_pa); |
655 | if (vdev->stats) | 655 | if (vdev->stats) |
656 | pci_free_consistent(vdev->pdev, | 656 | pci_free_consistent(vdev->pdev, |
657 | sizeof(struct vnic_dev), | 657 | sizeof(struct vnic_stats), |
658 | vdev->stats, vdev->stats_pa); | 658 | vdev->stats, vdev->stats_pa); |
659 | if (vdev->fw_info) | 659 | if (vdev->fw_info) |
660 | pci_free_consistent(vdev->pdev, | 660 | pci_free_consistent(vdev->pdev, |