Skip to content

Commit

Permalink
treewide: Fix typos in printk
Browse files Browse the repository at this point in the history
Correct spelling typo in various part of kernel

Signed-off-by: Masanari Iida <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
standby24x7 authored and Jiri Kosina committed Dec 19, 2013
1 parent 949b618 commit 77d84ff
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-imx/mach-pca100.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static int pca100_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
"imx-mmc-detect", data);
if (ret)
printk(KERN_ERR
"pca100: Failed to reuest irq for sd/mmc detection\n");
"pca100: Failed to request irq for sd/mmc detection\n");

return ret;
}
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/kvm/handle_exit.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static exit_handle_fn kvm_get_exit_handler(struct kvm_vcpu *vcpu)

if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers) ||
!arm_exit_handlers[hsr_ec]) {
kvm_err("Unkown exception class: hsr: %#08x\n",
kvm_err("Unknown exception class: hsr: %#08x\n",
(unsigned int)kvm_vcpu_get_hsr(vcpu));
BUG();
}
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/ralink/cevt-rt3352.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static void __init ralink_systick_init(struct device_node *np)

clockevents_register_device(&systick.dev);

pr_info("%s: runing - mult: %d, shift: %d\n",
pr_info("%s: running - mult: %d, shift: %d\n",
np->name, systick.dev.mult, systick.dev.shift);
}

Expand Down
2 changes: 1 addition & 1 deletion arch/mips/ralink/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static int rt_timer_probe(struct platform_device *pdev)
rt_timer_config(rt, 2);
rt_timer_enable(rt);

dev_info(&pdev->dev, "maximum frequncy is %luHz\n", rt->timer_freq);
dev_info(&pdev->dev, "maximum frequency is %luHz\n", rt->timer_freq);

return 0;
}
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static irqreturn_t mpc52xx_lpbfifo_irq(int irq, void *dev_id)

if (dma && !write) {
spin_unlock_irqrestore(&lpbfifo.lock, flags);
pr_err("bogus LPBFIFO IRQ (dma and not writting)\n");
pr_err("bogus LPBFIFO IRQ (dma and not writing)\n");
return IRQ_HANDLED;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/char/msm_smd_pkt.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static int smd_pkt_write(struct file *file, const char __user *buf,
if (count > MAX_BUF_SIZE)
return -EINVAL;

DBG("writting %d bytes\n", count);
DBG("writing %d bytes\n", count);

smd_pkt_devp = file->private_data;
if (!smd_pkt_devp || !smd_pkt_devp->ch)
Expand Down
2 changes: 1 addition & 1 deletion drivers/devfreq/exynos/exynos5_bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static int exynos5_busfreq_int_target(struct device *dev, unsigned long *_freq,
if (old_freq == freq)
return 0;

dev_dbg(dev, "targetting %lukHz %luuV\n", freq, volt);
dev_dbg(dev, "targeting %lukHz %luuV\n", freq, volt);

mutex_lock(&data->lock);

Expand Down
2 changes: 1 addition & 1 deletion drivers/gpu/drm/exynos/exynos_drm_fimc.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static bool fimc_check_ovf(struct fimc_context *ctx)

fimc_write(cfg, EXYNOS_CIWDOFST);

dev_err(ippdrv->dev, "occured overflow at %d, status 0x%x.\n",
dev_err(ippdrv->dev, "occurred overflow at %d, status 0x%x.\n",
ctx->id, status);
return true;
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/gpu/drm/exynos/exynos_drm_gsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1301,13 +1301,13 @@ static irqreturn_t gsc_irq_handler(int irq, void *dev_id)

status = gsc_read(GSC_IRQ);
if (status & GSC_IRQ_STATUS_OR_IRQ) {
dev_err(ippdrv->dev, "occured overflow at %d, status 0x%x.\n",
dev_err(ippdrv->dev, "occurred overflow at %d, status 0x%x.\n",
ctx->id, status);
return IRQ_NONE;
}

if (status & GSC_IRQ_STATUS_OR_FRM_DONE) {
dev_dbg(ippdrv->dev, "occured frame done at %d, status 0x%x.\n",
dev_dbg(ippdrv->dev, "occurred frame done at %d, status 0x%x.\n",
ctx->id, status);

buf_id[EXYNOS_DRM_OPS_SRC] = gsc_get_src_buf_index(ctx);
Expand Down
2 changes: 1 addition & 1 deletion drivers/i2c/busses/i2c-exynos5.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ static int exynos5_i2c_xfer(struct i2c_adapter *adap,
int i = 0, ret = 0, stop = 0;

if (i2c->suspended) {
dev_err(i2c->dev, "HS-I2C is not initialzed.\n");
dev_err(i2c->dev, "HS-I2C is not initialized.\n");
return -EIO;
}

Expand Down
2 changes: 1 addition & 1 deletion drivers/iio/adc/twl6030-gpadc.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ static int twl6030_gpadc_suspend(struct device *pdev)
ret = twl_i2c_write_u8(TWL6030_MODULE_ID1, TWL6030_GPADCR,
TWL6030_REG_TOGGLE1);
if (ret)
dev_err(pdev, "error reseting GPADC (%d)!\n", ret);
dev_err(pdev, "error resetting GPADC (%d)!\n", ret);

return 0;
};
Expand Down
2 changes: 1 addition & 1 deletion drivers/isdn/hisax/hfc4s8s_l1.c
Original file line number Diff line number Diff line change
Expand Up @@ -1620,7 +1620,7 @@ hfc4s8s_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
#else
if (!request_region(hw->iobase, 8, hw->card_name)) {
printk(KERN_INFO
"HFC-4S/8S: failed to rquest address space at 0x%04x\n",
"HFC-4S/8S: failed to request address space at 0x%04x\n",
hw->iobase);
goto out;
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/platform/ti-vpe/vpdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ static void dump_dtd(struct vpdma_dtd *dtd)
pr_debug("word5: max_width %d, max_height %d\n",
dtd_get_max_width(dtd), dtd_get_max_height(dtd));

pr_debug("word6: client specfic attr0 = 0x%08x\n", dtd->client_attr0);
pr_debug("word7: client specfic attr1 = 0x%08x\n", dtd->client_attr1);
pr_debug("word6: client specific attr0 = 0x%08x\n", dtd->client_attr0);
pr_debug("word7: client specific attr1 = 0x%08x\n", dtd->client_attr1);
}

/*
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/libertas/cmdresp.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ int lbs_process_event(struct lbs_private *priv, u32 event)
/* handle unexpected PS SLEEP event */
if (priv->psstate == PS_STATE_FULL_POWER) {
lbs_deb_cmd(
"EVENT: in FULL POWER mode, ignoreing PS_SLEEP\n");
"EVENT: in FULL POWER mode, ignoring PS_SLEEP\n");
break;
}
priv->psstate = PS_STATE_PRE_SLEEP;
Expand Down
2 changes: 1 addition & 1 deletion drivers/video/udlfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ static int dlfb_usb_probe(struct usb_interface *interface,
}

if (pixel_limit) {
pr_warn("DL chip limit of %d overriden"
pr_warn("DL chip limit of %d overridden"
" by module param to %d\n",
dev->sku_pixel_limit, pixel_limit);
dev->sku_pixel_limit = pixel_limit;
Expand Down
2 changes: 1 addition & 1 deletion fs/btrfs/tests/free-space-tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static int test_extents(struct btrfs_block_group_cache *cache)

ret = btrfs_remove_free_space(cache, 2 * 1024 * 1024, 4096);
if (ret) {
test_msg("Error removing middle peice %d\n", ret);
test_msg("Error removing middle piece %d\n", ret);
return ret;
}

Expand Down
2 changes: 1 addition & 1 deletion net/nfc/digital_dep.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ static void digital_tg_recv_psl_req(struct nfc_digital_dev *ddev, void *arg,
rf_tech = NFC_DIGITAL_RF_TECH_424F;
break;
default:
pr_err("Unsuported dsi value %d\n", dsi);
pr_err("Unsupported dsi value %d\n", dsi);
goto exit;
}

Expand Down

0 comments on commit 77d84ff

Please sign in to comment.