diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_attr.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index 2558156f064d..b62a72dfab29 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c | |||
@@ -856,7 +856,7 @@ sysfs_mbox_write(struct kobject *kobj, char *buf, loff_t off, size_t count) | |||
856 | mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); | 856 | mbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); |
857 | if (!mbox) | 857 | if (!mbox) |
858 | return -ENOMEM; | 858 | return -ENOMEM; |
859 | 859 | memset(mbox, 0, sizeof (LPFC_MBOXQ_t)); | |
860 | } | 860 | } |
861 | 861 | ||
862 | spin_lock_irq(host->host_lock); | 862 | spin_lock_irq(host->host_lock); |