Skip to content

Commit b23f7a0

Browse files
standby24x7Jiri Kosina
authored andcommitted
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>
1 parent 372c1d6 commit b23f7a0

8 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎arch/arm/kvm/arm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ static int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run,
613613

614614
if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers)
615615
|| !arm_exit_handlers[hsr_ec]) {
616-
kvm_err("Unkown exception class: %#08lx, "
616+
kvm_err("Unknown exception class: %#08lx, "
617617
"hsr: %#08x\n", hsr_ec,
618618
(unsigned int)vcpu->arch.hsr);
619619
BUG();

‎drivers/net/ethernet/broadcom/bnx2x/bnx2x_dcb.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ static int bnx2x_dcbx_read_shmem_remote_mib(struct bnx2x *bp)
591591
DCBX_READ_REMOTE_MIB);
592592

593593
if (rc) {
594-
BNX2X_ERR("Faild to read remote mib from FW\n");
594+
BNX2X_ERR("Failed to read remote mib from FW\n");
595595
return rc;
596596
}
597597

@@ -619,7 +619,7 @@ static int bnx2x_dcbx_read_shmem_neg_results(struct bnx2x *bp)
619619
DCBX_READ_LOCAL_MIB);
620620

621621
if (rc) {
622-
BNX2X_ERR("Faild to read local mib from FW\n");
622+
BNX2X_ERR("Failed to read local mib from FW\n");
623623
return rc;
624624
}
625625

‎drivers/remoteproc/remoteproc_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static const char *rproc_crash_to_string(enum rproc_crash_type type)
5959
{
6060
if (type < ARRAY_SIZE(rproc_crash_names))
6161
return rproc_crash_names[type];
62-
return "unkown";
62+
return "unknown";
6363
}
6464

6565
/*

‎drivers/scsi/be2iscsi/be_iscsi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ beiscsi_set_vlan_tag(struct Scsi_Host *shost,
369369
break;
370370
default:
371371
beiscsi_log(phba, KERN_WARNING, BEISCSI_LOG_CONFIG,
372-
"BS_%d : Unkown Param Type : %d\n",
372+
"BS_%d : Unknown Param Type : %d\n",
373373
iface_param->param);
374374
return -ENOSYS;
375375
}

‎drivers/scsi/be2iscsi/be_mgmt.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ beiscsi_adap_family_disp(struct device *dev, struct device_attribute *attr,
12921292
break;
12931293
default:
12941294
return snprintf(buf, PAGE_SIZE,
1295-
"Unkown Adapter Family: 0x%x\n", dev_id);
1295+
"Unknown Adapter Family: 0x%x\n", dev_id);
12961296
break;
12971297
}
12981298
}

‎drivers/scsi/bnx2i/bnx2i.h‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,8 @@ struct bnx2i_5771x_dbell {
580580
* @sq_mem_size: SQ size
581581
* @sq_prod_qe: SQ producer entry pointer
582582
* @sq_cons_qe: SQ consumer entry pointer
583-
* @sq_first_qe: virtaul address of first entry in SQ
584-
* @sq_last_qe: virtaul address of last entry in SQ
583+
* @sq_first_qe: virtual address of first entry in SQ
584+
* @sq_last_qe: virtual address of last entry in SQ
585585
* @sq_prod_idx: SQ producer index
586586
* @sq_cons_idx: SQ consumer index
587587
* @sqe_left: number sq entry left
@@ -593,8 +593,8 @@ struct bnx2i_5771x_dbell {
593593
* @cq_mem_size: CQ size
594594
* @cq_prod_qe: CQ producer entry pointer
595595
* @cq_cons_qe: CQ consumer entry pointer
596-
* @cq_first_qe: virtaul address of first entry in CQ
597-
* @cq_last_qe: virtaul address of last entry in CQ
596+
* @cq_first_qe: virtual address of first entry in CQ
597+
* @cq_last_qe: virtual address of last entry in CQ
598598
* @cq_prod_idx: CQ producer index
599599
* @cq_cons_idx: CQ consumer index
600600
* @cqe_left: number cq entry left
@@ -608,8 +608,8 @@ struct bnx2i_5771x_dbell {
608608
* @rq_mem_size: RQ size
609609
* @rq_prod_qe: RQ producer entry pointer
610610
* @rq_cons_qe: RQ consumer entry pointer
611-
* @rq_first_qe: virtaul address of first entry in RQ
612-
* @rq_last_qe: virtaul address of last entry in RQ
611+
* @rq_first_qe: virtual address of first entry in RQ
612+
* @rq_last_qe: virtual address of last entry in RQ
613613
* @rq_prod_idx: RQ producer index
614614
* @rq_cons_idx: RQ consumer index
615615
* @rqe_left: number rq entry left

‎drivers/scsi/csiostor/csio_mb.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ csio_mb_reset(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo,
182182
* @tmo: Command timeout.
183183
* @pf: PF number.
184184
* @vf: VF number.
185-
* @nparams: Number of paramters
185+
* @nparams: Number of parameters
186186
* @params: Parameter mnemonic array.
187187
* @val: Parameter value array.
188188
* @wr: Write/Read PARAMS.
@@ -721,7 +721,7 @@ csio_mb_iq_free(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
721721
* @mbp: Mailbox structure to initialize
722722
* @priv: Private data
723723
* @mb_tmo: Mailbox time-out period (in ms).
724-
* @eq_ofld_params: (Offload) Egress queue paramters.
724+
* @eq_ofld_params: (Offload) Egress queue parameters.
725725
* @cbfn: The call-back function
726726
*
727727
*
@@ -752,7 +752,7 @@ csio_mb_eq_ofld_alloc(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
752752
* @priv: Private data
753753
* @mb_tmo: Mailbox time-out period (in ms).
754754
* @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.
756756
* @cbfn: The call-back function
757757
*
758758
*
@@ -817,7 +817,7 @@ csio_mb_eq_ofld_write(struct csio_hw *hw, struct csio_mb *mbp, void *priv,
817817
* @mbp: Mailbox structure to initialize
818818
* @priv: Private data.
819819
* @mb_tmo: Mailbox time-out period (in ms).
820-
* @eq_ofld_params: (Offload) Egress queue paramters.
820+
* @eq_ofld_params: (Offload) Egress queue parameters.
821821
* @cbfn: The call-back function
822822
*
823823
*
@@ -840,7 +840,7 @@ csio_mb_eq_ofld_alloc_write(struct csio_hw *hw, struct csio_mb *mbp,
840840
* @hw: The HW structure.
841841
* @mbp: Mailbox structure to initialize.
842842
* @retval: Firmware return value.
843-
* @eq_ofld_params: (Offload) Egress queue paramters.
843+
* @eq_ofld_params: (Offload) Egress queue parameters.
844844
*
845845
*/
846846
void
@@ -870,7 +870,7 @@ csio_mb_eq_ofld_alloc_write_rsp(struct csio_hw *hw,
870870
* @mbp: Mailbox structure to initialize
871871
* @priv: Private data area.
872872
* @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.
874874
* @cbfn: The call-back function
875875
*
876876
*

‎include/sound/pcm.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */
867867
ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples);
868868
const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format);
869869
int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames);
870-
snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian);
870+
snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsigned, int big_endian);
871871

872872
void snd_pcm_set_ops(struct snd_pcm * pcm, int direction, struct snd_pcm_ops *ops);
873873
void snd_pcm_set_sync(struct snd_pcm_substream *substream);

0 commit comments

Comments
 (0)