Skip to contentSkip to conversation

treewide: Fix typo in printk

PATCH In review Masanari Iida 2 participants 4 messages Oct 15, 2015 – Oct 16, 2015

Subsystems (13)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 treewide: Fix typo in printk

This patch fix multiple spelling typos found in
various part of kernel.

---
 drivers/firmware/efi/libstub/fdt.c                 | 2 +-
 drivers/infiniband/hw/cxgb4/cm.c                   | 2 +-
 drivers/md/raid0.c                                 | 4 ++--
 drivers/media/common/saa7146/saa7146_video.c       | 2 +-
 drivers/media/dvb-frontends/m88ds3103.c            | 2 +-
 drivers/media/dvb-frontends/si2165.c               | 4 ++--
 drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 +-
 drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 2 +-
 drivers/soc/ti/knav_dma.c                          | 2 +-
 sound/drivers/pcm-indirect2.c                      | 2 +-
 sound/usb/6fire/firmware.c                         | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)
drivers/firmware/efi/libstub/fdt.c +1 -1
index b62e2f5..cf7b7d4 100644
@@ -253,7 +253,7 @@ efi_status_t allocate_new_fdt_and_exit_boot(efi_system_table_t *sys_table,
 			sys_table->boottime->free_pool(memory_map);
 			new_fdt_size += EFI_PAGE_SIZE;
 		} else {
-			pr_efi_err(sys_table, "Unable to constuct new device tree.\n");
+			pr_efi_err(sys_table, "Unable to construct new device tree.\n");
 			goto fail_free_mmap;
 		}
 	}
drivers/infiniband/hw/cxgb4/cm.c +1 -1
index debc39d..9a389a0 100644
@@ -449,7 +449,7 @@ static void act_open_req_arp_failure(void *handle, struct sk_buff *skb)
 {
 	struct c4iw_ep *ep = handle;
 
-	printk(KERN_ERR MOD "ARP failure duing connect\n");
+	printk(KERN_ERR MOD "ARP failure during connect\n");
 	kfree_skb(skb);
 	connect_reply_upcall(ep, -EHOSTUNREACH);
 	state_set(&ep->com, DEAD);
drivers/md/raid0.c +2 -2
index f8e5db0..2ea12c6 100644
@@ -549,13 +549,13 @@ static void *raid0_takeover_raid10(struct mddev *mddev)
 	 *  - all mirrors must be already degraded
 	 */
 	if (mddev->layout != ((1 << 8) + 2)) {
-		printk(KERN_ERR "md/raid0:%s:: Raid0 cannot takover layout: 0x%x\n",
+		printk(KERN_ERR "md/raid0:%s:: Raid0 cannot takeover layout: 0x%x\n",
 		       mdname(mddev),
 		       mddev->layout);
 		return ERR_PTR(-EINVAL);
 	}
 	if (mddev->raid_disks & 1) {
-		printk(KERN_ERR "md/raid0:%s: Raid0 cannot takover Raid10 with odd disk number.\n",
+		printk(KERN_ERR "md/raid0:%s: Raid0 cannot takeover Raid10 with odd disk number.\n",
 		       mdname(mddev));
 		return ERR_PTR(-EINVAL);
 	}
drivers/media/common/saa7146/saa7146_video.c +1 -1
index 3077949..079f520 100644
@@ -502,7 +502,7 @@ static int vidioc_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuf
 	/* check if overlay is running */
 	if (IS_OVERLAY_ACTIVE(fh) != 0) {
 		if (vv->video_fh != fh) {
-			DEB_D("refusing to change framebuffer informations while overlay is active in another open\n");
+			DEB_D("refusing to change framebuffer information while overlay is active in another open\n");
 			return -EBUSY;
 		}
 	}
drivers/media/dvb-frontends/m88ds3103.c +1 -1
index ff31e7a..508bb07 100644
@@ -664,7 +664,7 @@ static int m88ds3103_init(struct dvb_frontend *fe)
 	/* request the firmware, this will block and timeout */
 	ret = request_firmware(&fw, fw_file, &client->dev);
 	if (ret) {
-		dev_err(&client->dev, "firmare file '%s' not found\n", fw_file);
+		dev_err(&client->dev, "firmware file '%s' not found\n", fw_file);
 		goto err;
 	}
 
drivers/media/dvb-frontends/si2165.c +2 -2
index 7c2eeee..1fcd925 100644
@@ -511,7 +511,7 @@ static int si2165_upload_firmware(struct si2165_state *state)
 					   &offset, block_count);
 	if (ret < 0) {
 		dev_err(&state->i2c->dev,
-			"%s: firmare could not be uploaded\n",
+			"%s: firmware could not be uploaded\n",
 			KBUILD_MODNAME);
 		goto error;
 	}
@@ -535,7 +535,7 @@ static int si2165_upload_firmware(struct si2165_state *state)
 
 	if (len != offset) {
 		dev_err(&state->i2c->dev,
-			"%s: firmare len mismatch %04x != %04x\n",
+			"%s: firmware len mismatch %04x != %04x\n",
 			KBUILD_MODNAME, len, offset);
 		ret = -EINVAL;
 		goto error;
drivers/media/pci/netup_unidvb/netup_unidvb_core.c +1 -1
index 511144f..c466282 100644
@@ -387,7 +387,7 @@ static int netup_unidvb_dvb_init(struct netup_unidvb_dev *ndev,
 		vb2_dvb_alloc_frontend(
 			&ndev->frontends[num], 3) == NULL) {
 		dev_dbg(&ndev->pci_dev->dev,
-			"%s(): unable to to alllocate vb2_dvb_frontend\n",
+			"%s(): unable to allocate vb2_dvb_frontend\n",
 			__func__);
 		return -ENOMEM;
 	}
drivers/net/ethernet/intel/i40evf/i40evf_main.c +1 -1
index c00e495..3b494d7 100644
@@ -1193,7 +1193,7 @@ static void i40evf_configure_rss_aq(struct i40e_vsi *vsi, const u8 *seed)
 
 	if (adapter->current_op != I40E_VIRTCHNL_OP_UNKNOWN) {
 		/* bail because we already have a command pending */
-		dev_err(&adapter->pdev->dev, "Cannot confiure RSS, command %d pending\n",
+		dev_err(&adapter->pdev->dev, "Cannot configure RSS, command %d pending\n",
 			adapter->current_op);
 		return;
 	}
drivers/soc/ti/knav_dma.c +1 -1
index bc1b80e..7517754 100644
@@ -389,7 +389,7 @@ static int of_channel_match_helper(struct device_node *np, const char *name,
 	*dma_instance = dma_node->name;
 	index = of_property_match_string(np, "ti,navigator-dma-names", name);
 	if (index < 0) {
-		dev_err(kdev->dev, "No 'ti,navigator-dma-names' propery\n");
+		dev_err(kdev->dev, "No 'ti,navigator-dma-names' properly\n");
 		return -ENODEV;
 	}
 
sound/drivers/pcm-indirect2.c +1 -1
index e73fafd..d16bc14 100644
@@ -47,7 +47,7 @@ void snd_pcm_indirect2_stat(struct snd_pcm_substream *substream,
 	int seconds = (rec->lastbytetime - rec->firstbytetime) / HZ;
 
 	snd_printk(KERN_DEBUG "STAT: mul_elapsed: %u, mul_elapsed_real: %d, "
-		   "irq_occured: %d\n",
+		   "irq_occurred: %d\n",
 		   rec->mul_elapsed, rec->mul_elapsed_real, rec->irq_occured);
 	snd_printk(KERN_DEBUG "STAT: min_multiple: %d (irqs/period)\n",
 		   rec->min_multiple);
sound/usb/6fire/firmware.c +1 -1
index 62c25e7..9520b4c 100644
@@ -350,7 +350,7 @@ static int usb6fire_fw_check(struct usb_interface *intf, const u8 *version)
 		if (!memcmp(version, known_fw_versions + i, 2))
 			return 0;
 
-	dev_err(&intf->dev, "invalid fimware version in device: %4ph. "
+	dev_err(&intf->dev, "invalid firmware version in device: %4ph. "
 			"please reconnect to power. if this failure "
 			"still happens, check your firmware installation.",
 			version);
Signature · 1 line
2.6.1.133.gf5b6079
Acked-by on v1 1/1
#1 lore raw
Quoted 25 lines · Masanari Iida

This patch fix multiple spelling typos found in
various part of kernel.

---
 drivers/firmware/efi/libstub/fdt.c                 | 2 +-
 drivers/infiniband/hw/cxgb4/cm.c                   | 2 +-
 drivers/md/raid0.c                                 | 4 ++--
 drivers/media/common/saa7146/saa7146_video.c       | 2 +-
 drivers/media/dvb-frontends/m88ds3103.c            | 2 +-
 drivers/media/dvb-frontends/si2165.c               | 4 ++--
 drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 +-
 drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 2 +-
 drivers/soc/ti/knav_dma.c                          | 2 +-
 sound/drivers/pcm-indirect2.c                      | 2 +-
 sound/usb/6fire/firmware.c                         | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)
drivers/soc/ti/knav_dma.c +0 -0
index bc1b80e..7517754 100644

drivers/soc/ti/knav_dma.c static int of_channel_match_helper(struct device_node *np, const char *name, · line 392

Quoted 5 lines
drivers/soc/ti/knav_dma.c +1 -1
@@ -389,7 +389,7 @@ static int of_channel_match_helper(struct device_node *np, const char *name,
 	*dma_instance = dma_node->name;
 	index = of_property_match_string(np, "ti,navigator-dma-names", name);
 	if (index < 0) {
-		dev_err(kdev->dev, "No 'ti,navigator-dma-names' propery\n");
+		dev_err(kdev->dev, "No 'ti,navigator-dma-names' properly\n");

property

drivers/soc/ti/knav_dma.c static int of_channel_match_helper(struct device_node *np, const char *name, · line 395

Quoted 3 lines
drivers/soc/ti/knav_dma.c +0 -0
 		return -ENODEV;
 	}
 

After that fix, you can add:

Thanks.

Signature · 1 line
~Randy
#2 lore raw

This patch fix multiple spelling typos found in
various part of kernel.

---
 drivers/firmware/efi/libstub/fdt.c                 | 2 +-
 drivers/infiniband/hw/cxgb4/cm.c                   | 2 +-
 drivers/md/raid0.c                                 | 4 ++--
 drivers/media/common/saa7146/saa7146_video.c       | 2 +-
 drivers/media/dvb-frontends/m88ds3103.c            | 2 +-
 drivers/media/dvb-frontends/si2165.c               | 4 ++--
 drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 +-
 drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 2 +-
 drivers/soc/ti/knav_dma.c                          | 2 +-
 sound/drivers/pcm-indirect2.c                      | 2 +-
 sound/usb/6fire/firmware.c                         | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)
drivers/firmware/efi/libstub/fdt.c +1 -1
index b62e2f5..cf7b7d4 100644
@@ -253,7 +253,7 @@ efi_status_t allocate_new_fdt_and_exit_boot(efi_system_table_t *sys_table,
 			sys_table->boottime->free_pool(memory_map);
 			new_fdt_size += EFI_PAGE_SIZE;
 		} else {
-			pr_efi_err(sys_table, "Unable to constuct new device tree.\n");
+			pr_efi_err(sys_table, "Unable to construct new device tree.\n");
 			goto fail_free_mmap;
 		}
 	}
drivers/infiniband/hw/cxgb4/cm.c +1 -1
index debc39d..9a389a0 100644
@@ -449,7 +449,7 @@ static void act_open_req_arp_failure(void *handle, struct sk_buff *skb)
 {
 	struct c4iw_ep *ep = handle;
 
-	printk(KERN_ERR MOD "ARP failure duing connect\n");
+	printk(KERN_ERR MOD "ARP failure during connect\n");
 	kfree_skb(skb);
 	connect_reply_upcall(ep, -EHOSTUNREACH);
 	state_set(&ep->com, DEAD);
drivers/md/raid0.c +2 -2
index f8e5db0..2ea12c6 100644
@@ -549,13 +549,13 @@ static void *raid0_takeover_raid10(struct mddev *mddev)
 	 *  - all mirrors must be already degraded
 	 */
 	if (mddev->layout != ((1 << 8) + 2)) {
-		printk(KERN_ERR "md/raid0:%s:: Raid0 cannot takover layout: 0x%x\n",
+		printk(KERN_ERR "md/raid0:%s:: Raid0 cannot takeover layout: 0x%x\n",
 		       mdname(mddev),
 		       mddev->layout);
 		return ERR_PTR(-EINVAL);
 	}
 	if (mddev->raid_disks & 1) {
-		printk(KERN_ERR "md/raid0:%s: Raid0 cannot takover Raid10 with odd disk number.\n",
+		printk(KERN_ERR "md/raid0:%s: Raid0 cannot takeover Raid10 with odd disk number.\n",
 		       mdname(mddev));
 		return ERR_PTR(-EINVAL);
 	}
drivers/media/common/saa7146/saa7146_video.c +1 -1
index 3077949..079f520 100644
@@ -502,7 +502,7 @@ static int vidioc_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuf
 	/* check if overlay is running */
 	if (IS_OVERLAY_ACTIVE(fh) != 0) {
 		if (vv->video_fh != fh) {
-			DEB_D("refusing to change framebuffer informations while overlay is active in another open\n");
+			DEB_D("refusing to change framebuffer information while overlay is active in another open\n");
 			return -EBUSY;
 		}
 	}
drivers/media/dvb-frontends/m88ds3103.c +1 -1
index ff31e7a..508bb07 100644
@@ -664,7 +664,7 @@ static int m88ds3103_init(struct dvb_frontend *fe)
 	/* request the firmware, this will block and timeout */
 	ret = request_firmware(&fw, fw_file, &client->dev);
 	if (ret) {
-		dev_err(&client->dev, "firmare file '%s' not found\n", fw_file);
+		dev_err(&client->dev, "firmware file '%s' not found\n", fw_file);
 		goto err;
 	}
 
drivers/media/dvb-frontends/si2165.c +2 -2
index 7c2eeee..1fcd925 100644
@@ -511,7 +511,7 @@ static int si2165_upload_firmware(struct si2165_state *state)
 					   &offset, block_count);
 	if (ret < 0) {
 		dev_err(&state->i2c->dev,
-			"%s: firmare could not be uploaded\n",
+			"%s: firmware could not be uploaded\n",
 			KBUILD_MODNAME);
 		goto error;
 	}
@@ -535,7 +535,7 @@ static int si2165_upload_firmware(struct si2165_state *state)
 
 	if (len != offset) {
 		dev_err(&state->i2c->dev,
-			"%s: firmare len mismatch %04x != %04x\n",
+			"%s: firmware len mismatch %04x != %04x\n",
 			KBUILD_MODNAME, len, offset);
 		ret = -EINVAL;
 		goto error;
drivers/media/pci/netup_unidvb/netup_unidvb_core.c +1 -1
index 511144f..c466282 100644
@@ -387,7 +387,7 @@ static int netup_unidvb_dvb_init(struct netup_unidvb_dev *ndev,
 		vb2_dvb_alloc_frontend(
 			&ndev->frontends[num], 3) == NULL) {
 		dev_dbg(&ndev->pci_dev->dev,
-			"%s(): unable to to alllocate vb2_dvb_frontend\n",
+			"%s(): unable to allocate vb2_dvb_frontend\n",
 			__func__);
 		return -ENOMEM;
 	}
drivers/net/ethernet/intel/i40evf/i40evf_main.c +1 -1
index c00e495..3b494d7 100644
@@ -1193,7 +1193,7 @@ static void i40evf_configure_rss_aq(struct i40e_vsi *vsi, const u8 *seed)
 
 	if (adapter->current_op != I40E_VIRTCHNL_OP_UNKNOWN) {
 		/* bail because we already have a command pending */
-		dev_err(&adapter->pdev->dev, "Cannot confiure RSS, command %d pending\n",
+		dev_err(&adapter->pdev->dev, "Cannot configure RSS, command %d pending\n",
 			adapter->current_op);
 		return;
 	}
drivers/soc/ti/knav_dma.c +1 -1
index bc1b80e..1a7b5ca 100644
@@ -389,7 +389,7 @@ static int of_channel_match_helper(struct device_node *np, const char *name,
 	*dma_instance = dma_node->name;
 	index = of_property_match_string(np, "ti,navigator-dma-names", name);
 	if (index < 0) {
-		dev_err(kdev->dev, "No 'ti,navigator-dma-names' propery\n");
+		dev_err(kdev->dev, "No 'ti,navigator-dma-names' property\n");
 		return -ENODEV;
 	}
 
sound/drivers/pcm-indirect2.c +1 -1
index e73fafd..d16bc14 100644
@@ -47,7 +47,7 @@ void snd_pcm_indirect2_stat(struct snd_pcm_substream *substream,
 	int seconds = (rec->lastbytetime - rec->firstbytetime) / HZ;
 
 	snd_printk(KERN_DEBUG "STAT: mul_elapsed: %u, mul_elapsed_real: %d, "
-		   "irq_occured: %d\n",
+		   "irq_occurred: %d\n",
 		   rec->mul_elapsed, rec->mul_elapsed_real, rec->irq_occured);
 	snd_printk(KERN_DEBUG "STAT: min_multiple: %d (irqs/period)\n",
 		   rec->min_multiple);
sound/usb/6fire/firmware.c +1 -1
index 62c25e7..9520b4c 100644
@@ -350,7 +350,7 @@ static int usb6fire_fw_check(struct usb_interface *intf, const u8 *version)
 		if (!memcmp(version, known_fw_versions + i, 2))
 			return 0;
 
-	dev_err(&intf->dev, "invalid fimware version in device: %4ph. "
+	dev_err(&intf->dev, "invalid firmware version in device: %4ph. "
 			"please reconnect to power. if this failure "
 			"still happens, check your firmware installation.",
 			version);
Signature · 1 line
2.6.1.133.gf5b6079
Acked-by
#3 lore raw
Quoted 4 lines · Masanari Iida

This patch fix multiple spelling typos found in
various part of kernel.

Thanks.

Quoted 14 lines
---
 drivers/firmware/efi/libstub/fdt.c                 | 2 +-
 drivers/infiniband/hw/cxgb4/cm.c                   | 2 +-
 drivers/md/raid0.c                                 | 4 ++--
 drivers/media/common/saa7146/saa7146_video.c       | 2 +-
 drivers/media/dvb-frontends/m88ds3103.c            | 2 +-
 drivers/media/dvb-frontends/si2165.c               | 4 ++--
 drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 +-
 drivers/net/ethernet/intel/i40evf/i40evf_main.c    | 2 +-
 drivers/soc/ti/knav_dma.c                          | 2 +-
 sound/drivers/pcm-indirect2.c                      | 2 +-
 sound/usb/6fire/firmware.c                         | 2 +-
 11 files changed, 13 insertions(+), 13 deletions(-)
Signature · 1 line
~Randy