Browse Source

treewide: Fix typo in printk

This patch fix spelling typos found in printk and Kconfig.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Masanari Iida 9 years ago
parent
commit
fc4fa6e112

+ 1 - 1
drivers/atm/firestream.c

@@ -168,7 +168,7 @@ static char *res_strings[] = {
 	"reserved 14", 
 	"reserved 14", 
 	"Unrecognized cell", 
 	"Unrecognized cell", 
 	"reserved 16", 
 	"reserved 16", 
-	"reassemby abort: AAL5 abort", 
+	"reassembly abort: AAL5 abort", 
 	"packet purged", 
 	"packet purged", 
 	"packet ageing timeout", 
 	"packet ageing timeout", 
 	"channel ageing timeout", 
 	"channel ageing timeout", 

+ 1 - 1
drivers/crypto/nx/nx-842.c

@@ -308,7 +308,7 @@ int nx842_crypto_compress(struct crypto_tfm *tfm,
 		h = !n && add_header ? hdrsize : 0;
 		h = !n && add_header ? hdrsize : 0;
 
 
 		if (ignore)
 		if (ignore)
-			pr_warn("interal error, ignore is set %x\n", ignore);
+			pr_warn("internal error, ignore is set %x\n", ignore);
 
 
 		ret = compress(ctx, &p, &hdr->group[n], &c, &ignore, h);
 		ret = compress(ctx, &p, &hdr->group[n], &c, &ignore, h);
 		if (ret)
 		if (ret)

+ 1 - 1
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c

@@ -64,7 +64,7 @@ const char *usnic_ib_qp_grp_state_to_string(enum ib_qp_state state)
 	case IB_QPS_ERR:
 	case IB_QPS_ERR:
 		return "ERR";
 		return "ERR";
 	default:
 	default:
-		return "UNKOWN STATE";
+		return "UNKNOWN STATE";
 
 
 	}
 	}
 }
 }

+ 1 - 1
drivers/input/touchscreen/wdt87xx_i2c.c

@@ -848,7 +848,7 @@ static int wdt87xx_do_update_firmware(struct i2c_client *client,
 	error = wdt87xx_get_sysparam(client, &wdt->param);
 	error = wdt87xx_get_sysparam(client, &wdt->param);
 	if (error)
 	if (error)
 		dev_err(&client->dev,
 		dev_err(&client->dev,
-			"failed to refresh system paramaters: %d\n", error);
+			"failed to refresh system parameters: %d\n", error);
 out:
 out:
 	enable_irq(client->irq);
 	enable_irq(client->irq);
 	mutex_unlock(&wdt->fw_mutex);
 	mutex_unlock(&wdt->fw_mutex);

+ 1 - 1
drivers/net/ethernet/nuvoton/w90p910_ether.c

@@ -1038,7 +1038,7 @@ static int w90p910_ether_probe(struct platform_device *pdev)
 
 
 	error = register_netdev(dev);
 	error = register_netdev(dev);
 	if (error != 0) {
 	if (error != 0) {
-		dev_err(&pdev->dev, "Regiter EMC w90p910 FAILED\n");
+		dev_err(&pdev->dev, "Register EMC w90p910 FAILED\n");
 		error = -ENODEV;
 		error = -ENODEV;
 		goto failed_put_rmiiclk;
 		goto failed_put_rmiiclk;
 	}
 	}

+ 1 - 1
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c

@@ -626,7 +626,7 @@ static void rtl8821ae_dm_find_minimum_rssi(struct ieee80211_hw *hw)
 		rtl_dm_dig->min_undec_pwdb_for_dm =
 		rtl_dm_dig->min_undec_pwdb_for_dm =
 		    rtlpriv->dm.entry_min_undec_sm_pwdb;
 		    rtlpriv->dm.entry_min_undec_sm_pwdb;
 		RT_TRACE(rtlpriv, COMP_BB_POWERSAVING, DBG_LOUD,
 		RT_TRACE(rtlpriv, COMP_BB_POWERSAVING, DBG_LOUD,
-			 "AP Ext Port or disconnet PWDB = 0x%x\n",
+			 "AP Ext Port or disconnect PWDB = 0x%x\n",
 			 rtl_dm_dig->min_undec_pwdb_for_dm);
 			 rtl_dm_dig->min_undec_pwdb_for_dm);
 	}
 	}
 	RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
 	RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,

+ 1 - 2
drivers/usb/gadget/legacy/Kconfig

@@ -103,8 +103,7 @@ config USB_ETH
 	   - CDC Ethernet Emulation Model (EEM) is a newer standard that has
 	   - CDC Ethernet Emulation Model (EEM) is a newer standard that has
 	     a simpler interface that can be used by more USB hardware.
 	     a simpler interface that can be used by more USB hardware.
 
 
-	  RNDIS support is an additional option, more demanding than than
-	  subset.
+	  RNDIS support is an additional option, more demanding than subset.
 
 
 	  Within the USB device, this gadget driver exposes a network device
 	  Within the USB device, this gadget driver exposes a network device
 	  "usbX", where X depends on what other networking devices you have.
 	  "usbX", where X depends on what other networking devices you have.

+ 1 - 1
kernel/time/timekeeping.c

@@ -131,7 +131,7 @@ static void timekeeping_check_update(struct timekeeper *tk, cycle_t offset)
 		printk_deferred("         timekeeping: Your kernel is sick, but tries to cope by capping time updates\n");
 		printk_deferred("         timekeeping: Your kernel is sick, but tries to cope by capping time updates\n");
 	} else {
 	} else {
 		if (offset > (max_cycles >> 1)) {
 		if (offset > (max_cycles >> 1)) {
-			printk_deferred("INFO: timekeeping: Cycle offset (%lld) is larger than the the '%s' clock's 50%% safety margin (%lld)\n",
+			printk_deferred("INFO: timekeeping: Cycle offset (%lld) is larger than the '%s' clock's 50%% safety margin (%lld)\n",
 					offset, name, max_cycles >> 1);
 					offset, name, max_cycles >> 1);
 			printk_deferred("      timekeeping: Your kernel is still fine, but is feeling a bit nervous\n");
 			printk_deferred("      timekeeping: Your kernel is still fine, but is feeling a bit nervous\n");
 		}
 		}

+ 1 - 1
lib/842/842_decompress.c

@@ -250,7 +250,7 @@ static int do_op(struct sw842_param *p, u8 o)
 		case OP_ACTION_NOOP:
 		case OP_ACTION_NOOP:
 			break;
 			break;
 		default:
 		default:
-			pr_err("Interal error, invalid op %x\n", op);
+			pr_err("Internal error, invalid op %x\n", op);
 			return -EINVAL;
 			return -EINVAL;
 		}
 		}
 
 

+ 1 - 1
net/openvswitch/vport-geneve.c

@@ -133,6 +133,6 @@ static void __exit ovs_geneve_tnl_exit(void)
 module_init(ovs_geneve_tnl_init);
 module_init(ovs_geneve_tnl_init);
 module_exit(ovs_geneve_tnl_exit);
 module_exit(ovs_geneve_tnl_exit);
 
 
-MODULE_DESCRIPTION("OVS: Geneve swiching port");
+MODULE_DESCRIPTION("OVS: Geneve switching port");
 MODULE_LICENSE("GPL");
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("vport-type-5");
 MODULE_ALIAS("vport-type-5");

+ 1 - 1
tools/testing/selftests/timers/alarmtimer-suspend.c

@@ -153,7 +153,7 @@ int main(void)
 
 
 		alarmcount = 0;
 		alarmcount = 0;
 		if (timer_create(alarm_clock_id, &se, &tm1) == -1) {
 		if (timer_create(alarm_clock_id, &se, &tm1) == -1) {
-			printf("timer_create failled, %s unspported?\n",
+			printf("timer_create failed, %s unsupported?\n",
 					clockstring(alarm_clock_id));
 					clockstring(alarm_clock_id));
 			break;
 			break;
 		}
 		}