Skip to content

Commit

Permalink
treewide: Fix typos in various drivers
Browse files Browse the repository at this point in the history
Fix typos in printk within various drivers.

Signed-off-by: Masanari Iida <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
standby24x7 authored and Jiri Kosina committed Dec 3, 2012
1 parent e41e85c commit 9c76820
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-netx/xc.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int xc_request_firmware(struct xc *x)
if (head->magic != 0x4e657458) {
if (head->magic == 0x5874654e) {
dev_err(x->dev,
"firmware magic is 'XteN'. Endianess problems?\n");
"firmware magic is 'XteN'. Endianness problems?\n");
ret = -ENODEV;
goto exit_release_firmware;
}
Expand Down
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf609/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ config SEC_IRQ_PRIORITY_LEVELS
default 7
range 0 7
help
Devide the total number of interrupt priority levels into sub-levels.
Divide the total number of interrupt priority levels into sub-levels.
There is 2 ^ (SEC_IRQ_PRIORITY_LEVELS + 1) different levels.

endmenu
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/drxk_hard.c
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ static int GetDeviceCapabilities(struct drxk_state *state)
state->m_oscClockFreq = 20250;
break;
default:
printk(KERN_ERR "drxk: Clock Frequency is unkonwn\n");
printk(KERN_ERR "drxk: Clock Frequency is unknown\n");
return -EINVAL;
}
/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/platform/mx2_emmaprp.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ static irqreturn_t emmaprp_irq(int irq_emma, void *data)
if (!curr_ctx->aborting) {
if ((irqst & PRP_INTR_ST_RDERR) ||
(irqst & PRP_INTR_ST_CH2WERR)) {
pr_err("PrP bus error ocurred, this transfer is probably corrupted\n");
pr_err("PrP bus error occurred, this transfer is probably corrupted\n");
writel(PRP_CNTL_SWRST, pcdev->base_emma + PRP_CNTL);
} else if (irqst & PRP_INTR_ST_CH2B1CI) { /* buffer ready */
src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx);
Expand Down
4 changes: 2 additions & 2 deletions drivers/remoteproc/remoteproc_elf_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw)
return -EINVAL;
}

/* We assume the firmware has the same endianess as the host */
/* We assume the firmware has the same endianness as the host */
# ifdef __LITTLE_ENDIAN
if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
# else /* BIG ENDIAN */
if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
# endif
dev_err(dev, "Unsupported firmware endianess\n");
dev_err(dev, "Unsupported firmware endianness\n");
return -EINVAL;
}

Expand Down
2 changes: 1 addition & 1 deletion tools/perf/Documentation/perf-record.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ following filters are defined:

+
The option requires at least one branch type among any, any_call, any_ret, ind_call.
The privilege levels may be ommitted, in which case, the privilege levels of the associated
The privilege levels may be omitted, in which case, the privilege levels of the associated
event are applied to the branch filter. Both kernel (k) and hypervisor (hv) privilege
levels are subject to permissions. When sampling on multiple events, branch stack sampling
is enabled for all the sampling events. The sampled branch type is the same for all events.
Expand Down

0 comments on commit 9c76820

Please sign in to comment.