aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2013-04-17 11:12:55 -0400
committerJiri Kosina <jkosina@suse.cz>2013-04-24 10:43:00 -0400
commitb23f7a09f93516f90c8e51d3e2d822f67d809d8b (patch)
tree7a2a242fa58a164ec252cfda417c3854e84c8bd9
parent372c1d6d64abc0565188c24015c55229413c65cb (diff)
treewide: Fix typo in printk and comments
Fix typo in printk and comments within various drivers. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r--arch/arm/kvm/arm.c2
-rw-r--r--drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c4
-rw-r--r--drivers/remoteproc/remoteproc_core.c2
-rw-r--r--drivers/scsi/be2iscsi/be_iscsi.c2
-rw-r--r--drivers/scsi/be2iscsi/be_mgmt.c2
-rw-r--r--drivers/scsi/bnx2i/bnx2i.h12
-rw-r--r--drivers/scsi/csiostor/csio_mb.c12
-rw-r--r--include/sound/pcm.h2
8 files changed, 19 insertions, 19 deletions
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 5a936988eb24..15d37af04d8b 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -613,7 +613,7 @@ static int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run,
613 613
614 if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers) 614 if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers)
615 || !arm_exit_handlers[hsr_ec]) { 615 || !arm_exit_handlers[hsr_ec]) {
616 kvm_err("Unkown exception class: %#08lx, " 616 kvm_err("Unknown exception class: %#08lx, "
617 "hsr: %#08x\n", hsr_ec, 617 "hsr: %#08x\n", hsr_ec,
618 (unsigned int)vcpu->arch.hsr); 618 (unsigned int)vcpu->arch.hsr);
619 BUG(); 619 BUG();
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
index 568205436a15..c633402cbd2f 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c
@@ -591,7 +591,7 @@ static int bnx2x_dcbx_read_shmem_remote_mib(struct bnx2x *bp)
591 DCBX_READ_REMOTE_MIB); 591 DCBX_READ_REMOTE_MIB);
592 592
593 if (rc) { 593 if (rc) {
594 BNX2X_ERR("Faild to read remote mib from FW\n"); 594 BNX2X_ERR("Failed to read remote mib from FW\n");
595 return rc; 595 return rc;
596 } 596 }
597 597
@@ -619,7 +619,7 @@ static int bnx2x_dcbx_read_shmem_neg_results(struct bnx2x *bp)
619 DCBX_READ_LOCAL_MIB); 619 DCBX_READ_LOCAL_MIB);
620 620
621 if (rc) { 621 if (rc) {
622 BNX2X_ERR("Faild to read local mib from FW\n"); 622 BNX2X_ERR("Failed to read local mib from FW\n");
623 return rc; 623 return rc;
624 } 624 }
625 625
diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c
index 29387df4bfc9..ecbceaf6882b 100644
--- a/drivers/remoteproc/remoteproc_core.c
+++ b/drivers/remoteproc/remoteproc_core.c
@@ -59,7 +59,7 @@ static const char *rproc_crash_to_string(enum rproc_crash_type type)
59{ 59{
60 if (type < ARRAY_SIZE(rproc_crash_names)) 60 if (type < ARRAY_SIZE(rproc_crash_names))
61 return rproc_crash_names[type]; 61 return rproc_crash_names[type];
62 return "unkown"; 62 return "unknown";
63} 63}
64 64
65/* 65/*
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c
index 214d691adb53..9014690fe841 100644
--- a/drivers/scsi/be2iscsi/be_iscsi.c
+++ b/drivers/scsi/be2iscsi/be_iscsi.c
@@ -369,7 +369,7 @@ beiscsi_set_vlan_tag(struct Scsi_Host *shost,
369 break; 369 break;
370 default: 370 default:
371 beiscsi_log(phba, KERN_WARNING, BEISCSI_LOG_CONFIG, 371 beiscsi_log(phba, KERN_WARNING, BEISCSI_LOG_CONFIG,
372 "BS_%d : Unkown Param Type : %d\n", 372 "BS_%d : Unknown Param Type : %d\n",
373 iface_param->param); 373 iface_param->param);
374 return -ENOSYS; 374 return -ENOSYS;
375 } 375 }
diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c
index a6c2fe4b4d65..55cc9902263d 100644
--- a/drivers/scsi/be2iscsi/be_mgmt.c
+++ b/drivers/scsi/be2iscsi/be_mgmt.c
@@ -1292,7 +1292,7 @@ beiscsi_adap_family_disp(struct device *dev, struct device_attribute *attr,
1292 break; 1292 break;
1293 default: 1293 default:
1294 return snprintf(buf, PAGE_SIZE, 1294 return snprintf(buf, PAGE_SIZE,
1295 "Unkown Adapter Family: 0x%x\n", dev_id); 1295 "Unknown Adapter Family: 0x%x\n", dev_id);
1296 break; 1296 break;
1297 } 1297 }
1298} 1298}
diff --git a/drivers/scsi/bnx2i/bnx2i.h b/drivers/scsi/bnx2i/bnx2i.h
index b44d04e41b0d..f109e3b073c3 100644
--- a/drivers/scsi/bnx2i/bnx2i.h
+++ b/drivers/scsi/bnx2i/bnx2i.h
@@ -580,8 +580,8 @@ struct bnx2i_5771x_dbell {
580 * @sq_mem_size: SQ size 580 * @sq_mem_size: SQ size
581 * @sq_prod_qe: SQ producer entry pointer 581 * @sq_prod_qe: SQ producer entry pointer
582 * @sq_cons_qe: SQ consumer entry pointer 582 * @sq_cons_qe: SQ consumer entry pointer
583 * @sq_first_qe: virtaul address of first entry in SQ 583 * @sq_first_qe: virtual address of first entry in SQ
584 * @sq_last_qe: virtaul address of last entry in SQ 584 * @sq_last_qe: virtual address of last entry in SQ
585 * @sq_prod_idx: SQ producer index 585 * @sq_prod_idx: SQ producer index
586 * @sq_cons_idx: SQ consumer index 586 * @sq_cons_idx: SQ consumer index
587 * @sqe_left: number sq entry left 587 * @sqe_left: number sq entry left
@@ -593,8 +593,8 @@ struct bnx2i_5771x_dbell {
593 * @cq_mem_size: CQ size 593 * @cq_mem_size: CQ size
594 * @cq_prod_qe: CQ producer entry pointer 594 * @cq_prod_qe: CQ producer entry pointer
595 * @cq_cons_qe: CQ consumer entry pointer 595 * @cq_cons_qe: CQ consumer entry pointer
596 * @cq_first_qe: virtaul address of first entry in CQ 596 * @cq_first_qe: virtual address of first entry in CQ
597 * @cq_last_qe: virtaul address of last entry in CQ 597 * @cq_last_qe: virtual address of last entry in CQ
598 * @cq_prod_idx: CQ producer index 598 * @cq_prod_idx: CQ producer index
599 * @cq_cons_idx: CQ consumer index 599 * @cq_cons_idx: CQ consumer index
600 * @cqe_left: number cq entry left 600 * @cqe_left: number cq entry left
@@ -608,8 +608,8 @@ struct bnx2i_5771x_dbell {
608 * @rq_mem_size: RQ size 608 * @rq_mem_size: RQ size
609 * @rq_prod_qe: RQ producer entry pointer 609 * @rq_prod_qe: RQ producer entry pointer
610 * @rq_cons_qe: RQ consumer entry pointer 610 * @rq_cons_qe: RQ consumer entry pointer
611 * @rq_first_qe: virtaul address of first entry in RQ 611 * @rq_first_qe: virtual address of first entry in RQ
612 * @rq_last_qe: virtaul address of last entry in RQ 612 * @rq_last_qe: virtual address of last entry in RQ
613 * @rq_prod_idx: RQ producer index 613 * @rq_prod_idx: RQ producer index
614 * @rq_cons_idx: RQ consumer index 614 * @rq_cons_idx: RQ consumer index
615 * @rqe_left: number rq entry left 615 * @rqe_left: number rq entry left
diff --git a/drivers/scsi/csiostor/csio_mb.c b/drivers/scsi/csiostor/csio_mb.c
index 5b27c48f6836..f5d9ee1fda62 100644
--- a/drivers/scsi/csiostor/csio_mb.c
+++ b/drivers/scsi/csiostor/csio_mb.c
@@ -182,7 +182,7 @@ csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo,
182 * @tmo: Command timeout. 182 * @tmo: Command timeout.
183 * @pf: PF number. 183 * @pf: PF number.
184 * @vf: VF number. 184 * @vf: VF number.
185 * @nparams: Number of paramters 185 * @nparams: Number of parameters
186 * @params: Parameter mnemonic array. 186 * @params: Parameter mnemonic array.
187 * @val: Parameter value array. 187 * @val: Parameter value array.
188 * @wr: Write/Read PARAMS. 188 * @wr: Write/Read PARAMS.
@@ -721,7 +721,7 @@ csio_mb_iq_free(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
721 * @mbp: Mailbox structure to initialize 721 * @mbp: Mailbox structure to initialize
722 * @priv: Private data 722 * @priv: Private data
723 * @mb_tmo: Mailbox time-out period (in ms). 723 * @mb_tmo: Mailbox time-out period (in ms).
724 * @eq_ofld_params: (Offload) Egress queue paramters. 724 * @eq_ofld_params: (Offload) Egress queue parameters.
725 * @cbfn: The call-back function 725 * @cbfn: The call-back function
726 * 726 *
727 * 727 *
@@ -752,7 +752,7 @@ csio_mb_eq_ofld_alloc(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
752 * @priv: Private data 752 * @priv: Private data
753 * @mb_tmo: Mailbox time-out period (in ms). 753 * @mb_tmo: Mailbox time-out period (in ms).
754 * @cascaded_req: TRUE - if this request is cascased with Eq-alloc request. 754 * @cascaded_req: TRUE - if this request is cascased with Eq-alloc request.
755 * @eq_ofld_params: (Offload) Egress queue paramters. 755 * @eq_ofld_params: (Offload) Egress queue parameters.
756 * @cbfn: The call-back function 756 * @cbfn: The call-back function
757 * 757 *
758 * 758 *
@@ -817,7 +817,7 @@ csio_mb_eq_ofld_write(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
817 * @mbp: Mailbox structure to initialize 817 * @mbp: Mailbox structure to initialize
818 * @priv: Private data. 818 * @priv: Private data.
819 * @mb_tmo: Mailbox time-out period (in ms). 819 * @mb_tmo: Mailbox time-out period (in ms).
820 * @eq_ofld_params: (Offload) Egress queue paramters. 820 * @eq_ofld_params: (Offload) Egress queue parameters.
821 * @cbfn: The call-back function 821 * @cbfn: The call-back function
822 * 822 *
823 * 823 *
@@ -840,7 +840,7 @@ csio_mb_eq_ofld_alloc_write(struct csio_hw *hw, struct csio_mb *mbp,
840 * @hw: The HW structure. 840 * @hw: The HW structure.
841 * @mbp: Mailbox structure to initialize. 841 * @mbp: Mailbox structure to initialize.
842 * @retval: Firmware return value. 842 * @retval: Firmware return value.
843 * @eq_ofld_params: (Offload) Egress queue paramters. 843 * @eq_ofld_params: (Offload) Egress queue parameters.
844 * 844 *
845 */ 845 */
846void 846void
@@ -870,7 +870,7 @@ csio_mb_eq_ofld_alloc_write_rsp(struct csio_hw *hw,
870 * @mbp: Mailbox structure to initialize 870 * @mbp: Mailbox structure to initialize
871 * @priv: Private data area. 871 * @priv: Private data area.
872 * @mb_tmo: Mailbox time-out period (in ms). 872 * @mb_tmo: Mailbox time-out period (in ms).
873 * @eq_ofld_params: (Offload) Egress queue paramters, that is to be freed. 873 * @eq_ofld_params: (Offload) Egress queue parameters, that is to be freed.
874 * @cbfn: The call-back function 874 * @cbfn: The call-back function
875 * 875 *
876 * 876 *
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 45c1981c9ca2..5ec42dbd2308 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -867,7 +867,7 @@ int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
867ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples); 867ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
868const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format); 868const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format);
869int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); 869int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
870snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian); 870snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsigned, int big_endian);
871 871
872void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops); 872void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops);
873void snd_pcm_set_sync(struct snd_pcm_substream *substream); 873void snd_pcm_set_sync(struct snd_pcm_substream *substream);