diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-06 12:36:28 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-06 12:36:28 -0400 |
commit | 2e515bf096c245ba87f20ab4b4ea20f911afaeda (patch) | |
tree | 8ce40f811092844ea9da683804db6e2afa410808 /drivers/scsi | |
parent | 22e04f6b4b04a8afe9af9239224591d06ba3b24d (diff) | |
parent | f8ea61e63442c25cbe6ddee48979b444f1f2a01c (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')
-rw-r--r-- | drivers/scsi/bfa/bfad_im.c | 2 | ||||
-rw-r--r-- | drivers/scsi/cxgbi/libcxgbi.h | 8 | ||||
-rw-r--r-- | drivers/scsi/hpsa.c | 2 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 8 | ||||
-rw-r--r-- | drivers/scsi/lpfc/lpfc_bsg.c | 2 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mbox.c | 10 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_mm.c | 2 | ||||
-rw-r--r-- | drivers/scsi/megaraid/megaraid_sas_fusion.h | 2 | ||||
-rw-r--r-- | drivers/scsi/qla2xxx/qla_bsg.c | 2 | ||||
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mr.c | 2 |
10 files changed, 20 insertions, 20 deletions
diff --git a/drivers/scsi/bfa/bfad_im.c b/drivers/scsi/bfa/bfad_im.c index 9796284512a9..9967f9c14851 100644 --- a/drivers/scsi/bfa/bfad_im.c +++ b/drivers/scsi/bfa/bfad_im.c | |||
@@ -206,7 +206,7 @@ bfad_im_abort_handler(struct scsi_cmnd *cmnd) | |||
206 | spin_lock_irqsave(&bfad->bfad_lock, flags); | 206 | spin_lock_irqsave(&bfad->bfad_lock, flags); |
207 | hal_io = (struct bfa_ioim_s *) cmnd->host_scribble; | 207 | hal_io = (struct bfa_ioim_s *) cmnd->host_scribble; |
208 | if (!hal_io) { | 208 | if (!hal_io) { |
209 | /* IO has been completed, retrun success */ | 209 | /* IO has been completed, return success */ |
210 | rc = SUCCESS; | 210 | rc = SUCCESS; |
211 | goto out; | 211 | goto out; |
212 | } | 212 | } |
diff --git a/drivers/scsi/cxgbi/libcxgbi.h b/drivers/scsi/cxgbi/libcxgbi.h index 80fa99b3d384..8135f04671af 100644 --- a/drivers/scsi/cxgbi/libcxgbi.h +++ b/drivers/scsi/cxgbi/libcxgbi.h | |||
@@ -658,11 +658,11 @@ static inline u32 cxgbi_tag_nonrsvd_bits(struct cxgbi_tag_format *tformat, | |||
658 | static inline void *cxgbi_alloc_big_mem(unsigned int size, | 658 | static inline void *cxgbi_alloc_big_mem(unsigned int size, |
659 | gfp_t gfp) | 659 | gfp_t gfp) |
660 | { | 660 | { |
661 | void *p = kmalloc(size, gfp); | 661 | void *p = kzalloc(size, gfp | __GFP_NOWARN); |
662 | |||
662 | if (!p) | 663 | if (!p) |
663 | p = vmalloc(size); | 664 | p = vzalloc(size); |
664 | if (p) | 665 | |
665 | memset(p, 0, size); | ||
666 | return p; | 666 | return p; |
667 | } | 667 | } |
668 | 668 | ||
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index b766f5aea584..fac8cf5832dd 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -1054,7 +1054,7 @@ free_and_out: | |||
1054 | } | 1054 | } |
1055 | 1055 | ||
1056 | /* | 1056 | /* |
1057 | * Lookup bus/target/lun and retrun corresponding struct hpsa_scsi_dev_t * | 1057 | * Lookup bus/target/lun and return corresponding struct hpsa_scsi_dev_t * |
1058 | * Assume's h->devlock is held. | 1058 | * Assume's h->devlock is held. |
1059 | */ | 1059 | */ |
1060 | static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h, | 1060 | static struct hpsa_scsi_dev_t *lookup_hpsa_scsi_dev(struct ctlr_info *h, |
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 | **/ |
2633 | static struct lpfc_dmabuf * | 2633 | static struct lpfc_dmabuf * |
2634 | lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba) | 2634 | lpfc_bsg_dma_page_alloc(struct lpfc_hba *phba) |
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index e6a1e0b38a19..515c9629e9fe 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -549,7 +549,7 @@ out_probe_one: | |||
549 | 549 | ||
550 | /** | 550 | /** |
551 | * megaraid_detach_one - release framework resources and call LLD release routine | 551 | * megaraid_detach_one - release framework resources and call LLD release routine |
552 | * @pdev : handle for our PCI cofiguration space | 552 | * @pdev : handle for our PCI configuration space |
553 | * | 553 | * |
554 | * This routine is called during driver unload. We free all the allocated | 554 | * This routine is called during driver unload. We free all the allocated |
555 | * resources and call the corresponding LLD so that it can also release all | 555 | * resources and call the corresponding LLD so that it can also release all |
@@ -979,7 +979,7 @@ megaraid_fini_mbox(adapter_t *adapter) | |||
979 | * @adapter : soft state of the raid controller | 979 | * @adapter : soft state of the raid controller |
980 | * | 980 | * |
981 | * Allocate and align the shared mailbox. This maibox is used to issue | 981 | * Allocate and align the shared mailbox. This maibox is used to issue |
982 | * all the commands. For IO based controllers, the mailbox is also regsitered | 982 | * all the commands. For IO based controllers, the mailbox is also registered |
983 | * with the FW. Allocate memory for all commands as well. | 983 | * with the FW. Allocate memory for all commands as well. |
984 | * This is our big allocator. | 984 | * This is our big allocator. |
985 | */ | 985 | */ |
@@ -2027,7 +2027,7 @@ megaraid_mbox_prepare_pthru(adapter_t *adapter, scb_t *scb, | |||
2027 | * @scb : scsi control block | 2027 | * @scb : scsi control block |
2028 | * @scp : scsi command from the mid-layer | 2028 | * @scp : scsi command from the mid-layer |
2029 | * | 2029 | * |
2030 | * Prepare a command for the scsi physical devices. This rountine prepares | 2030 | * Prepare a command for the scsi physical devices. This routine prepares |
2031 | * commands for devices which can take extended CDBs (>10 bytes). | 2031 | * commands for devices which can take extended CDBs (>10 bytes). |
2032 | */ | 2032 | */ |
2033 | static void | 2033 | static void |
@@ -2586,7 +2586,7 @@ megaraid_abort_handler(struct scsi_cmnd *scp) | |||
2586 | } | 2586 | } |
2587 | 2587 | ||
2588 | /** | 2588 | /** |
2589 | * megaraid_reset_handler - device reset hadler for mailbox based driver | 2589 | * megaraid_reset_handler - device reset handler for mailbox based driver |
2590 | * @scp : reference command | 2590 | * @scp : reference command |
2591 | * | 2591 | * |
2592 | * Reset handler for the mailbox based controller. First try to find out if | 2592 | * Reset handler for the mailbox based controller. First try to find out if |
@@ -3446,7 +3446,7 @@ megaraid_mbox_display_scb(adapter_t *adapter, scb_t *scb) | |||
3446 | * megaraid_mbox_setup_device_map - manage device ids | 3446 | * megaraid_mbox_setup_device_map - manage device ids |
3447 | * @adapter : Driver's soft state | 3447 | * @adapter : Driver's soft state |
3448 | * | 3448 | * |
3449 | * Manange the device ids to have an appropriate mapping between the kernel | 3449 | * Manage the device ids to have an appropriate mapping between the kernel |
3450 | * scsi addresses and megaraid scsi and logical drive addresses. We export | 3450 | * scsi addresses and megaraid scsi and logical drive addresses. We export |
3451 | * scsi devices on their actual addresses, whereas the logical drives are | 3451 | * scsi devices on their actual addresses, whereas the logical drives are |
3452 | * exported on a virtual scsi channel. | 3452 | * exported on a virtual scsi channel. |
diff --git a/drivers/scsi/megaraid/megaraid_mm.c b/drivers/scsi/megaraid/megaraid_mm.c index 25506c777381..dfffd0f37916 100644 --- a/drivers/scsi/megaraid/megaraid_mm.c +++ b/drivers/scsi/megaraid/megaraid_mm.c | |||
@@ -896,7 +896,7 @@ hinfo_to_cinfo(mraid_hba_info_t *hinfo, mcontroller_t *cinfo) | |||
896 | 896 | ||
897 | /** | 897 | /** |
898 | * mraid_mm_register_adp - Registration routine for low level drivers | 898 | * mraid_mm_register_adp - Registration routine for low level drivers |
899 | * @lld_adp : Adapter objejct | 899 | * @lld_adp : Adapter object |
900 | */ | 900 | */ |
901 | int | 901 | int |
902 | mraid_mm_register_adp(mraid_mmadp_t *lld_adp) | 902 | mraid_mm_register_adp(mraid_mmadp_t *lld_adp) |
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.h b/drivers/scsi/megaraid/megaraid_sas_fusion.h index 12ff01cf6799..4eb84011cb07 100644 --- a/drivers/scsi/megaraid/megaraid_sas_fusion.h +++ b/drivers/scsi/megaraid/megaraid_sas_fusion.h | |||
@@ -88,7 +88,7 @@ enum MR_RAID_FLAGS_IO_SUB_TYPE { | |||
88 | #define MEGASAS_FUSION_IN_RESET 0 | 88 | #define MEGASAS_FUSION_IN_RESET 0 |
89 | 89 | ||
90 | /* | 90 | /* |
91 | * Raid Context structure which describes MegaRAID specific IO Paramenters | 91 | * Raid Context structure which describes MegaRAID specific IO Parameters |
92 | * This resides at offset 0x60 where the SGL normally starts in MPT IO Frames | 92 | * This resides at offset 0x60 where the SGL normally starts in MPT IO Frames |
93 | */ | 93 | */ |
94 | 94 | ||
diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/qla2xxx/qla_bsg.c index b989add77ec3..aa57bf0af574 100644 --- a/drivers/scsi/qla2xxx/qla_bsg.c +++ b/drivers/scsi/qla2xxx/qla_bsg.c | |||
@@ -1895,7 +1895,7 @@ done: | |||
1895 | bsg_job->reply->reply_payload_rcv_len = 0; | 1895 | bsg_job->reply->reply_payload_rcv_len = 0; |
1896 | bsg_job->reply->result = (DID_OK) << 16; | 1896 | bsg_job->reply->result = (DID_OK) << 16; |
1897 | bsg_job->job_done(bsg_job); | 1897 | bsg_job->job_done(bsg_job); |
1898 | /* Always retrun success, vendor rsp carries correct status */ | 1898 | /* Always return success, vendor rsp carries correct status */ |
1899 | return 0; | 1899 | return 0; |
1900 | } | 1900 | } |
1901 | 1901 | ||
diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c index 2482975d72b2..62ee7131b204 100644 --- a/drivers/scsi/qla2xxx/qla_mr.c +++ b/drivers/scsi/qla2xxx/qla_mr.c | |||
@@ -1865,7 +1865,7 @@ qlafx00_fx_disc(scsi_qla_host_t *vha, fc_port_t *fcport, uint16_t fx_type) | |||
1865 | p_sysid = utsname(); | 1865 | p_sysid = utsname(); |
1866 | if (!p_sysid) { | 1866 | if (!p_sysid) { |
1867 | ql_log(ql_log_warn, vha, 0x303c, | 1867 | ql_log(ql_log_warn, vha, 0x303c, |
1868 | "Not able to get the system informtion\n"); | 1868 | "Not able to get the system information\n"); |
1869 | goto done_free_sp; | 1869 | goto done_free_sp; |
1870 | } | 1870 | } |
1871 | break; | 1871 | break; |