treewide: Fix typos in printk
Subsystems (19)
PATCH 1/1 treewide: Fix typos in printk
This patch fix spelling typos in printk from various part of the codes.
Signed-off-by Masanari Iida <[email protected]>
--- arch/powerpc/kernel/mce.c | 2 +- drivers/clk/tegra/clk-tegra20.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 4 ++-- drivers/infiniband/hw/cxgb3/iwch_cm.c | 2 +- drivers/input/touchscreen/cyttsp4_core.c | 2 +- drivers/net/ethernet/broadcom/bgmac.c | 2 +- drivers/net/ethernet/freescale/fman/fman.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/health.c | 4 ++-- drivers/platform/mips/cpu_hwmon.c | 6 +++--- drivers/scsi/qla2xxx/qla_sup.c | 2 +- drivers/target/iscsi/iscsi_target_auth.c | 2 +- drivers/watchdog/watchdog_core.c | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-)
arch/powerpc/kernel/mce.c +1 -1
@@ -284,7 +284,7 @@ void machine_check_print_event_info(struct machine_check_event *evt)printk ("%s Effective address: %016llx\n" , level, evt->u.ue_error.effective_address);if (evt->u.ue_error.physical_address_provided) -printk ("%s Physial address: %016llx\n" , +printk ("%s Physical address: %016llx\n" , level, evt->u.ue_error.physical_address);break ;case MCE_ERROR_TYPE_SLB :
drivers/clk/tegra/clk-tegra20.c +1 -1
@@ -623,7 +623,7 @@ static unsigned int tegra20_get_pll_ref_div(void)case OSC_CTRL_PLL_REF_DIV_4 :return 4 ;default : -pr_err ("Invalied pll ref divider %d\n" , pll_ref_div); +pr_err ("Invalid pll ref divider %d\n" , pll_ref_div);BUG (); }return 0 ;
drivers/gpu/drm/etnaviv/etnaviv_gpu.c +2 -2
@@ -778,9 +778,9 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m) debug.state[0] == debug.state[1]) { seq_puts(m, "seems to be stuck\n"); } else if (debug.address[0] == debug.address[1]) { - seq_puts(m, "adress is constant\n"); + seq_puts(m, "address is constant\n"); } else { -seq_puts (m,"is runing\n" ); +seq_puts (m,"is running\n" ); }seq_printf (m,"\t address 0: 0x%08x\n" , debug.address[0 ]);
drivers/infiniband/hw/cxgb3/iwch_cm.c +1 -1
@@ -367,7 +367,7 @@ static void arp_failure_discard(struct t3cdev *dev, struct sk_buff *skb)*/ static void act_open_req_arp_failure (struct t3cdev *dev,struct sk_buff *skb) { - printk(KERN_ERR MOD "ARP failure duing connect\n"); + printk(KERN_ERR MOD "ARP failure during connect\n");kfree_skb (skb); }
drivers/input/touchscreen/cyttsp4_core.c +1 -1
@@ -1499,7 +1499,7 @@ static int cyttsp4_core_sleep_(struct cyttsp4 *cd)if (IS_BOOTLOADER (mode[0 ], mode[1 ])) {mutex_unlock (&cd->system_lock); -dev_err (cd->dev,"%s: Device in BOOTLADER mode.\n" , __func__); +dev_err (cd->dev,"%s: Device in BOOTLOADER mode.\n" , __func__); rc = -EINVAL ; goto error; }
drivers/net/ethernet/broadcom/bgmac.c +1 -1
@@ -1515,7 +1515,7 @@ static int bgmac_mii_register(struct bgmac *bgmac) phy_dev =phy_connect (bgmac->net_dev, bus_id, &bgmac_adjust_link,PHY_INTERFACE_MODE_MII );if (IS_ERR (phy_dev)) { -bgmac_err (bgmac,"PHY connecton failed\n" ); +bgmac_err (bgmac,"PHY connection failed\n" ); err =PTR_ERR (phy_dev); goto err_unregister_bus; }
drivers/net/ethernet/freescale/fman/fman.c +1 -1
@@ -2772,7 +2772,7 @@ static struct fman *read_dts_node(struct platform_device *of_dev)/* Get the FM address */ res =platform_get_resource (of_dev,IORESOURCE_MEM ,0 );if (!res) { -dev_err (&of_dev->dev,"%s: Can't get FMan memory resouce\n" , +dev_err (&of_dev->dev,"%s: Can't get FMan memory resource\n" , __func__); goto fman_node_put; }
drivers/net/ethernet/mellanox/mlx5/core/health.c +2 -2
@@ -176,11 +176,11 @@ static const char *hsynd_str(u8 synd)case MLX5_HEALTH_SYNDR_EQ_ERR :return "EQ error" ;case MLX5_HEALTH_SYNDR_EQ_INV : -return "Invalid EQ refrenced" ; +return "Invalid EQ referenced" ;case MLX5_HEALTH_SYNDR_FFSER_ERR :return "FFSER error" ;case MLX5_HEALTH_SYNDR_HIGH_TEMP : -return "High temprature" ; +return "High temperature" ;default :return "unrecognized error" ; }
drivers/platform/mips/cpu_hwmon.c +3 -3
@@ -80,13 +80,13 @@ static const struct attribute *hwmon_cputemp2[] = {static ssize_t cpu0_temp_label (struct device *dev,struct device_attribute *attr,char *buf) { -return sprintf (buf,"CPU 0 Temprature\n" ); +return sprintf (buf,"CPU 0 Temperature\n" ); }static ssize_t cpu1_temp_label (struct device *dev,struct device_attribute *attr,char *buf) { -return sprintf (buf,"CPU 1 Temprature\n" ); +return sprintf (buf,"CPU 1 Temperature\n" ); } static ssize_t get_cpu0_temp(struct device *dev,
@@ -169,7 +169,7 @@ static int __init loongson_hwmon_init(void) ret =create_sysfs_cputemp_files (&cpu_hwmon_dev->kobj);if (ret) { -pr_err ("fail to create cpu temprature interface!\n" ); +pr_err ("fail to create cpu temperature interface!\n" ); goto fail_create_sysfs_cputemp_files; }
drivers/scsi/qla2xxx/qla_sup.c +1 -1
@@ -3222,7 +3222,7 @@ qla24xx_read_fcp_prio_cfg(scsi_qla_host_t *vha) ha->fcp_prio_cfg =vmalloc (FCP_PRIO_CFG_SIZE );if (!ha->fcp_prio_cfg) {ql_log (ql_log_warn, vha,0x00d5 , -"Unable to allocate memory for fcp priorty data (%x).\n" , +"Unable to allocate memory for fcp priority data (%x).\n" ,FCP_PRIO_CFG_SIZE );return QLA_FUNCTION_FAILED ; }
drivers/target/iscsi/iscsi_target_auth.c +1 -1
@@ -293,7 +293,7 @@ static int chap_server_compute_md5(pr_debug ("[server] MD5 Digests do not match!\n\n" ); goto out; }else -pr_debug ("[server] MD5 Digests match, CHAP connetication" +pr_debug ("[server] MD5 Digests match, CHAP connection" " successful.\n\n" );/* * One way authentication has succeeded, return now if mutual
drivers/watchdog/watchdog_core.c +1 -1
@@ -262,7 +262,7 @@ static int __watchdog_register_device(struct watchdog_device *wdd) ret =register_restart_handler (&wdd->restart_nb);if (ret) -pr_warn ("watchog%d: Cannot register restart handler (%d)\n" , +pr_warn ("watchdog%d: Cannot register restart handler (%d)\n" , wdd->id, ret); }
Signature · 1 line
2.8.1.185.gdc0db2c
Quoted 4 lines · Masanari Iida
This patch fix spelling typos in printk from various part of the codes.
Signed-off-by Masanari Iida <[email protected]>
Looks good to me. Thanks.
Acked-by Randy Dunlap <[email protected]>
Quoted 14 lines
--- arch/powerpc/kernel/mce.c | 2 +- drivers/clk/tegra/clk-tegra20.c | 2 +- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 4 ++-- drivers/infiniband/hw/cxgb3/iwch_cm.c | 2 +- drivers/input/touchscreen/cyttsp4_core.c | 2 +- drivers/net/ethernet/broadcom/bgmac.c | 2 +- drivers/net/ethernet/freescale/fman/fman.c | 2 +- drivers/net/ethernet/mellanox/mlx5/core/health.c | 4 ++-- drivers/platform/mips/cpu_hwmon.c | 6 +++--- drivers/scsi/qla2xxx/qla_sup.c | 2 +- drivers/target/iscsi/iscsi_target_auth.c | 2 +- drivers/watchdog/watchdog_core.c | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-)
Signature · 1 line
~Randy