aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-09-06 12:36:28 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-06 12:36:28 -0400
commit2e515bf096c245ba87f20ab4b4ea20f911afaeda (patch)
tree8ce40f811092844ea9da683804db6e2afa410808 /drivers/scsi/lpfc
parent22e04f6b4b04a8afe9af9239224591d06ba3b24d (diff)
parentf8ea61e63442c25cbe6ddee48979b444f1f2a01c (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree from Jiri Kosina: "The usual trivial updates all over the tree -- mostly typo fixes and documentation updates" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (52 commits) doc: Documentation/cputopology.txt fix typo treewide: Convert retrun typos to return Fix comment typo for init_cma_reserved_pageblock Documentation/trace: Correcting and extending tracepoint documentation mm/hotplug: fix a typo in Documentation/memory-hotplug.txt power: Documentation: Update s2ram link doc: fix a typo in Documentation/00-INDEX Documentation/printk-formats.txt: No casts needed for u64/s64 doc: Fix typo "is is" in Documentations treewide: Fix printks with 0x%# zram: doc fixes Documentation/kmemcheck: update kmemcheck documentation doc: documentation/hwspinlock.txt fix typo PM / Hibernate: add section for resume options doc: filesystems : Fix typo in Documentations/filesystems scsi/megaraid fixed several typos in comments ppc: init_32: Fix error typo "CONFIG_START_KERNEL" treewide: Add __GFP_NOWARN to k.alloc calls with v.alloc fallbacks page_isolation: Fix a comment typo in test_pages_isolated() doc: fix a typo about irq affinity ...
Diffstat (limited to 'drivers/scsi/lpfc')
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c8
-rw-r--r--drivers/scsi/lpfc/lpfc_bsg.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c
index 22f42f866f75..16498e030c70 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -816,7 +816,7 @@ lpfc_issue_reset(struct device *dev, struct device_attribute *attr,
816 * the readyness after performing a firmware reset. 816 * the readyness after performing a firmware reset.
817 * 817 *
818 * Returns: 818 * Returns:
819 * zero for success, -EPERM when port does not have privilage to perform the 819 * zero for success, -EPERM when port does not have privilege to perform the
820 * reset, -EIO when port timeout from recovering from the reset. 820 * reset, -EIO when port timeout from recovering from the reset.
821 * 821 *
822 * Note: 822 * Note:
@@ -833,7 +833,7 @@ lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *phba)
833 lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr, 833 lpfc_readl(phba->sli4_hba.u.if_type2.STATUSregaddr,
834 &portstat_reg.word0); 834 &portstat_reg.word0);
835 835
836 /* verify if privilaged for the request operation */ 836 /* verify if privileged for the request operation */
837 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) && 837 if (!bf_get(lpfc_sliport_status_rn, &portstat_reg) &&
838 !bf_get(lpfc_sliport_status_err, &portstat_reg)) 838 !bf_get(lpfc_sliport_status_err, &portstat_reg))
839 return -EPERM; 839 return -EPERM;
@@ -925,9 +925,9 @@ lpfc_sli4_pdev_reg_request(struct lpfc_hba *phba, uint32_t opcode)
925 rc = lpfc_sli4_pdev_status_reg_wait(phba); 925 rc = lpfc_sli4_pdev_status_reg_wait(phba);
926 926
927 if (rc == -EPERM) { 927 if (rc == -EPERM) {
928 /* no privilage for reset */ 928 /* no privilege for reset */
929 lpfc_printf_log(phba, KERN_ERR, LOG_SLI, 929 lpfc_printf_log(phba, KERN_ERR, LOG_SLI,
930 "3150 No privilage to perform the requested " 930 "3150 No privilege to perform the requested "
931 "access: x%x\n", reg_val); 931 "access: x%x\n", reg_val);
932 } else if (rc == -EIO) { 932 } else if (rc == -EIO) {
933 /* reset failed, there is nothing more we can do */ 933 /* reset failed, there is nothing more we can do */
diff --git a/drivers/scsi/lpfc/lpfc_bsg.c b/drivers/scsi/lpfc/lpfc_bsg.c
index bc270639c1c3..79c13c3263f1 100644
--- a/drivers/scsi/lpfc/lpfc_bsg.c
+++ b/drivers/scsi/lpfc/lpfc_bsg.c
@@ -2628,7 +2628,7 @@ err_get_xri_exit:
2628 * @phba: Pointer to HBA context object 2628 * @phba: Pointer to HBA context object
2629 * 2629 *
2630 * This function allocates BSG_MBOX_SIZE (4KB) page size dma buffer and. 2630 * This function allocates BSG_MBOX_SIZE (4KB) page size dma buffer and.
2631 * retruns the pointer to the buffer. 2631 * returns the pointer to the buffer.
2632 **/ 2632 **/
2633static struct lpfc_dmabuf * 2633static struct lpfc_dmabuf *
2634lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba) 2634lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba)