aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_attr.c
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2013-07-16 15:37:44 -0400
committerJiri Kosina <jkosina@suse.cz>2013-08-20 06:44:03 -0400
commit0b1587b18bfed2fc686abfca7b942d75f859c465 (patch)
tree57f237cf79ca87e73a6b09c14fc056fba18f02db /drivers/scsi/lpfc/lpfc_attr.c
parent8646603608e324b352b1797c6fd8024cb6728a31 (diff)
treewide: Fix typo in printk
Correct spelling typo in printk Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_attr.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 5cb08ae3e8c2..f4360c5ea6a9 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -818,7 +818,7 @@ lpfc_issue_reset(struct device *dev, struct device_attribute *attr,
818 * the readyness after performing a firmware reset. 818 * the readyness after performing a firmware reset.
819 * 819 *
820 * Returns: 820 * Returns:
821 * zero for success, -EPERM when port does not have privilage to perform the 821 * zero for success, -EPERM when port does not have privilege to perform the
822 * reset, -EIO when port timeout from recovering from the reset. 822 * reset, -EIO when port timeout from recovering from the reset.
823 * 823 *
824 * Note: 824 * Note:
@@ -835,7 +835,7 @@ lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *phba)
835 lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr, 835 lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr,
836 &portstat_reg.word0); 836 &portstat_reg.word0);
837 837
838 /* verify if privilaged for the request operation */ 838 /* verify if privileged for the request operation */
839 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) && 839 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) &&
840 !bf_get(lpfc_sliport_status_err, &portstat_reg)) 840 !bf_get(lpfc_sliport_status_err, &portstat_reg))
841 return -EPERM; 841 return -EPERM;
@@ -927,9 +927,9 @@ lpfc_sli4_pdev_reg_request(struct lpfc_hba *phba, uint32_t opcode)
927 rc = lpfc_sli4_pdev_status_reg_wait(phba); 927 rc = lpfc_sli4_pdev_status_reg_wait(phba);
928 928
929 if (rc == -EPERM) { 929 if (rc == -EPERM) {
930 /* no privilage for reset */ 930 /* no privilege for reset */
931 lpfc_printf_log(phba, KERN_ERR, LOG_SLI, 931 lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
932 "3150 No privilage to perform the requested " 932 "3150 No privilege to perform the requested "
933 "access: x%x\n", reg_val); 933 "access: x%x\n", reg_val);
934 } else if (rc == -EIO) { 934 } else if (rc == -EIO) {
935 /* reset failed, there is nothing more we can do */ 935 /* reset failed, there is nothing more we can do */