Skip to content

Commit

Permalink
treewide: Fix typo in printk
Browse files Browse the repository at this point in the history
This patch fix spelling typos found in printk and Kconfig.

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 Feb 15, 2016
1 parent bcf4299 commit fc4fa6e
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion drivers/atm/firestream.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ static char *res_strings[] = {
"reserved 14",
"Unrecognized cell",
"reserved 16",
"reassemby abort: AAL5 abort",
"reassembly abort: AAL5 abort",
"packet purged",
"packet ageing timeout",
"channel ageing timeout",
Expand Down
2 changes: 1 addition & 1 deletion drivers/crypto/nx/nx-842.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ int nx842_crypto_compress(struct crypto_tfm *tfm,
h = !n && add_header ? hdrsize : 0;

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);
if (ret)
Expand Down
2 changes: 1 addition & 1 deletion drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const char *usnic_ib_qp_grp_state_to_string(enum ib_qp_state state)
case IB_QPS_ERR:
return "ERR";
default:
return "UNKOWN STATE";
return "UNKNOWN STATE";

}
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/input/touchscreen/wdt87xx_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ static int wdt87xx_do_update_firmware(struct i2c_client *client,
error = wdt87xx_get_sysparam(client, &wdt->param);
if (error)
dev_err(&client->dev,
"failed to refresh system paramaters: %d\n", error);
"failed to refresh system parameters: %d\n", error);
out:
enable_irq(client->irq);
mutex_unlock(&wdt->fw_mutex);
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ethernet/nuvoton/w90p910_ether.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,7 +1038,7 @@ static int w90p910_ether_probe(struct platform_device *pdev)

error = register_netdev(dev);
if (error != 0) {
dev_err(&pdev->dev, "Regiter EMC w90p910 FAILED\n");
dev_err(&pdev->dev, "Register EMC w90p910 FAILED\n");
error = -ENODEV;
goto failed_put_rmiiclk;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ static void rtl8821ae_dm_find_minimum_rssi(struct ieee80211_hw *hw)
rtl_dm_dig->min_undec_pwdb_for_dm =
rtlpriv->dm.entry_min_undec_sm_pwdb;
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);
}
RT_TRACE(rtlpriv, COMP_DIG, DBG_LOUD,
Expand Down
3 changes: 1 addition & 2 deletions drivers/usb/gadget/legacy/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ config USB_ETH
- CDC Ethernet Emulation Model (EEM) is a newer standard that has
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
"usbX", where X depends on what other networking devices you have.
Expand Down
2 changes: 1 addition & 1 deletion kernel/time/timekeeping.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
} else {
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);
printk_deferred(" timekeeping: Your kernel is still fine, but is feeling a bit nervous\n");
}
Expand Down
2 changes: 1 addition & 1 deletion lib/842/842_decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ static int do_op(struct sw842_param *p, u8 o)
case OP_ACTION_NOOP:
break;
default:
pr_err("Interal error, invalid op %x\n", op);
pr_err("Internal error, invalid op %x\n", op);
return -EINVAL;
}

Expand Down
2 changes: 1 addition & 1 deletion net/openvswitch/vport-geneve.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,6 @@ static void __exit ovs_geneve_tnl_exit(void)
module_init(ovs_geneve_tnl_init);
module_exit(ovs_geneve_tnl_exit);

MODULE_DESCRIPTION("OVS: Geneve swiching port");
MODULE_DESCRIPTION("OVS: Geneve switching port");
MODULE_LICENSE("GPL");
MODULE_ALIAS("vport-type-5");
2 changes: 1 addition & 1 deletion tools/testing/selftests/timers/alarmtimer-suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ int main(void)

alarmcount = 0;
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));
break;
}
Expand Down

0 comments on commit fc4fa6e

Please sign in to comment.