提交 77d84ff8 编写于 作者: M Masanari Iida 提交者: Jiri Kosina

treewide: Fix typos in printk

Correct spelling typo in various part of kernel
Signed-off-by: NMasanari Iida <standby24x7@gmail.com>
Acked-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 949b6183
...@@ -249,7 +249,7 @@ static int pca100_sdhc2_init(struct device *dev, irq_handler_t detect_irq, ...@@ -249,7 +249,7 @@ static int pca100_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
"imx-mmc-detect", data); "imx-mmc-detect", data);
if (ret) if (ret)
printk(KERN_ERR 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; return ret;
} }
......
...@@ -90,7 +90,7 @@ static exit_handle_fn kvm_get_exit_handler(struct kvm_vcpu *vcpu) ...@@ -90,7 +90,7 @@ static exit_handle_fn kvm_get_exit_handler(struct kvm_vcpu *vcpu)
if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers) || if (hsr_ec >= ARRAY_SIZE(arm_exit_handlers) ||
!arm_exit_handlers[hsr_ec]) { !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)); (unsigned int)kvm_vcpu_get_hsr(vcpu));
BUG(); BUG();
} }
......
...@@ -138,7 +138,7 @@ static void __init ralink_systick_init(struct device_node *np) ...@@ -138,7 +138,7 @@ static void __init ralink_systick_init(struct device_node *np)
clockevents_register_device(&systick.dev); 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); np->name, systick.dev.mult, systick.dev.shift);
} }
......
...@@ -147,7 +147,7 @@ static int rt_timer_probe(struct platform_device *pdev) ...@@ -147,7 +147,7 @@ static int rt_timer_probe(struct platform_device *pdev)
rt_timer_config(rt, 2); rt_timer_config(rt, 2);
rt_timer_enable(rt); 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; return 0;
} }
......
...@@ -245,7 +245,7 @@ static irqreturn_t mpc52xx_lpbfifo_irq(int irq, void *dev_id) ...@@ -245,7 +245,7 @@ static irqreturn_t mpc52xx_lpbfifo_irq(int irq, void *dev_id)
if (dma && !write) { if (dma && !write) {
spin_unlock_irqrestore(&lpbfifo.lock, flags); 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; return IRQ_HANDLED;
} }
......
...@@ -182,7 +182,7 @@ static int smd_pkt_write(struct file *file, const char __user *buf, ...@@ -182,7 +182,7 @@ static int smd_pkt_write(struct file *file, const char __user *buf,
if (count > MAX_BUF_SIZE) if (count > MAX_BUF_SIZE)
return -EINVAL; return -EINVAL;
DBG("writting %d bytes\n", count); DBG("writing %d bytes\n", count);
smd_pkt_devp = file->private_data; smd_pkt_devp = file->private_data;
if (!smd_pkt_devp || !smd_pkt_devp->ch) if (!smd_pkt_devp || !smd_pkt_devp->ch)
......
...@@ -152,7 +152,7 @@ static int exynos5_busfreq_int_target(struct device *dev, unsigned long *_freq, ...@@ -152,7 +152,7 @@ static int exynos5_busfreq_int_target(struct device *dev, unsigned long *_freq,
if (old_freq == freq) if (old_freq == freq)
return 0; return 0;
dev_dbg(dev, "targetting %lukHz %luuV\n", freq, volt); dev_dbg(dev, "targeting %lukHz %luuV\n", freq, volt);
mutex_lock(&data->lock); mutex_lock(&data->lock);
......
...@@ -345,7 +345,7 @@ static bool fimc_check_ovf(struct fimc_context *ctx) ...@@ -345,7 +345,7 @@ static bool fimc_check_ovf(struct fimc_context *ctx)
fimc_write(cfg, EXYNOS_CIWDOFST); 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); ctx->id, status);
return true; return true;
} }
......
...@@ -1301,13 +1301,13 @@ static irqreturn_t gsc_irq_handler(int irq, void *dev_id) ...@@ -1301,13 +1301,13 @@ static irqreturn_t gsc_irq_handler(int irq, void *dev_id)
status = gsc_read(GSC_IRQ); status = gsc_read(GSC_IRQ);
if (status & GSC_IRQ_STATUS_OR_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); ctx->id, status);
return IRQ_NONE; return IRQ_NONE;
} }
if (status & GSC_IRQ_STATUS_OR_FRM_DONE) { 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); ctx->id, status);
buf_id[EXYNOS_DRM_OPS_SRC] = gsc_get_src_buf_index(ctx); buf_id[EXYNOS_DRM_OPS_SRC] = gsc_get_src_buf_index(ctx);
......
...@@ -571,7 +571,7 @@ static int exynos5_i2c_xfer(struct i2c_adapter *adap, ...@@ -571,7 +571,7 @@ static int exynos5_i2c_xfer(struct i2c_adapter *adap,
int i = 0, ret = 0, stop = 0; int i = 0, ret = 0, stop = 0;
if (i2c->suspended) { 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; return -EIO;
} }
......
...@@ -969,7 +969,7 @@ static int twl6030_gpadc_suspend(struct device *pdev) ...@@ -969,7 +969,7 @@ static int twl6030_gpadc_suspend(struct device *pdev)
ret = twl_i2c_write_u8(TWL6030_MODULE_ID1, TWL6030_GPADCR, ret = twl_i2c_write_u8(TWL6030_MODULE_ID1, TWL6030_GPADCR,
TWL6030_REG_TOGGLE1); TWL6030_REG_TOGGLE1);
if (ret) if (ret)
dev_err(pdev, "error reseting GPADC (%d)!\n", ret); dev_err(pdev, "error resetting GPADC (%d)!\n", ret);
return 0; return 0;
}; };
......
...@@ -1620,7 +1620,7 @@ hfc4s8s_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -1620,7 +1620,7 @@ hfc4s8s_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
#else #else
if (!request_region(hw->iobase, 8, hw->card_name)) { if (!request_region(hw->iobase, 8, hw->card_name)) {
printk(KERN_INFO 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); hw->iobase);
goto out; goto out;
} }
......
...@@ -577,8 +577,8 @@ static void dump_dtd(struct vpdma_dtd *dtd) ...@@ -577,8 +577,8 @@ static void dump_dtd(struct vpdma_dtd *dtd)
pr_debug("word5: max_width %d, max_height %d\n", pr_debug("word5: max_width %d, max_height %d\n",
dtd_get_max_width(dtd), dtd_get_max_height(dtd)); dtd_get_max_width(dtd), dtd_get_max_height(dtd));
pr_debug("word6: client specfic attr0 = 0x%08x\n", dtd->client_attr0); pr_debug("word6: client specific attr0 = 0x%08x\n", dtd->client_attr0);
pr_debug("word7: client specfic attr1 = 0x%08x\n", dtd->client_attr1); pr_debug("word7: client specific attr1 = 0x%08x\n", dtd->client_attr1);
} }
/* /*
......
...@@ -248,7 +248,7 @@ int lbs_process_event(struct lbs_private *priv, u32 event) ...@@ -248,7 +248,7 @@ int lbs_process_event(struct lbs_private *priv, u32 event)
/* handle unexpected PS SLEEP event */ /* handle unexpected PS SLEEP event */
if (priv->psstate == PS_STATE_FULL_POWER) { if (priv->psstate == PS_STATE_FULL_POWER) {
lbs_deb_cmd( lbs_deb_cmd(
"EVENT: in FULL POWER mode, ignoreing PS_SLEEP\n"); "EVENT: in FULL POWER mode, ignoring PS_SLEEP\n");
break; break;
} }
priv->psstate = PS_STATE_PRE_SLEEP; priv->psstate = PS_STATE_PRE_SLEEP;
......
...@@ -1624,7 +1624,7 @@ static int dlfb_usb_probe(struct usb_interface *interface, ...@@ -1624,7 +1624,7 @@ static int dlfb_usb_probe(struct usb_interface *interface,
} }
if (pixel_limit) { 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", " by module param to %d\n",
dev->sku_pixel_limit, pixel_limit); dev->sku_pixel_limit, pixel_limit);
dev->sku_pixel_limit = pixel_limit; dev->sku_pixel_limit = pixel_limit;
......
...@@ -101,7 +101,7 @@ static int test_extents(struct btrfs_block_group_cache *cache) ...@@ -101,7 +101,7 @@ static int test_extents(struct btrfs_block_group_cache *cache)
ret = btrfs_remove_free_space(cache, 2 * 1024 * 1024, 4096); ret = btrfs_remove_free_space(cache, 2 * 1024 * 1024, 4096);
if (ret) { if (ret) {
test_msg("Error removing middle peice %d\n", ret); test_msg("Error removing middle piece %d\n", ret);
return ret; return ret;
} }
......
...@@ -563,7 +563,7 @@ static void digital_tg_recv_psl_req(struct nfc_digital_dev *ddev, void *arg, ...@@ -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; rf_tech = NFC_DIGITAL_RF_TECH_424F;
break; break;
default: default:
pr_err("Unsuported dsi value %d\n", dsi); pr_err("Unsupported dsi value %d\n", dsi);
goto exit; goto exit;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册