Skip to content

Commit c01e015

Browse files
standby24x7Jiri Kosina
authored andcommitted
treewide: Fix typos in printk
This patch fix spelling typos in printk from various part of the codes. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent 35fc7b7 commit c01e015

12 files changed

Lines changed: 16 additions & 16 deletions

File tree

‎arch/powerpc/kernel/mce.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ void machine_check_print_event_info(struct machine_check_event *evt)
284284
printk("%s Effective address: %016llx\n",
285285
level, evt->u.ue_error.effective_address);
286286
if (evt->u.ue_error.physical_address_provided)
287-
printk("%s Physial address: %016llx\n",
287+
printk("%s Physical address: %016llx\n",
288288
level, evt->u.ue_error.physical_address);
289289
break;
290290
case MCE_ERROR_TYPE_SLB:

‎drivers/clk/tegra/clk-tegra20.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ static unsigned int tegra20_get_pll_ref_div(void)
623623
case OSC_CTRL_PLL_REF_DIV_4:
624624
return 4;
625625
default:
626-
pr_err("Invalied pll ref divider %d\n", pll_ref_div);
626+
pr_err("Invalid pll ref divider %d\n", pll_ref_div);
627627
BUG();
628628
}
629629
return 0;

‎drivers/gpu/drm/etnaviv/etnaviv_gpu.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -778,9 +778,9 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m)
778778
debug.state[0] == debug.state[1]) {
779779
seq_puts(m, "seems to be stuck\n");
780780
} else if (debug.address[0] == debug.address[1]) {
781-
seq_puts(m, "adress is constant\n");
781+
seq_puts(m, "address is constant\n");
782782
} else {
783-
seq_puts(m, "is runing\n");
783+
seq_puts(m, "is running\n");
784784
}
785785

786786
seq_printf(m, "\t address 0: 0x%08x\n", debug.address[0]);

‎drivers/infiniband/hw/cxgb3/iwch_cm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ static void arp_failure_discard(struct t3cdev *dev, struct sk_buff *skb)
367367
*/
368368
static void act_open_req_arp_failure(struct t3cdev *dev, struct sk_buff *skb)
369369
{
370-
printk(KERN_ERR MOD "ARP failure duing connect\n");
370+
printk(KERN_ERR MOD "ARP failure during connect\n");
371371
kfree_skb(skb);
372372
}
373373

‎drivers/input/touchscreen/cyttsp4_core.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ static int cyttsp4_core_sleep_(struct cyttsp4 *cd)
14991499

15001500
if (IS_BOOTLOADER(mode[0], mode[1])) {
15011501
mutex_unlock(&cd->system_lock);
1502-
dev_err(cd->dev, "%s: Device in BOOTLADER mode.\n", __func__);
1502+
dev_err(cd->dev, "%s: Device in BOOTLOADER mode.\n", __func__);
15031503
rc = -EINVAL;
15041504
goto error;
15051505
}

‎drivers/net/ethernet/broadcom/bgmac.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1515,7 +1515,7 @@ static int bgmac_mii_register(struct bgmac *bgmac)
15151515
phy_dev = phy_connect(bgmac->net_dev, bus_id, &bgmac_adjust_link,
15161516
PHY_INTERFACE_MODE_MII);
15171517
if (IS_ERR(phy_dev)) {
1518-
bgmac_err(bgmac, "PHY connecton failed\n");
1518+
bgmac_err(bgmac, "PHY connection failed\n");
15191519
err = PTR_ERR(phy_dev);
15201520
goto err_unregister_bus;
15211521
}

‎drivers/net/ethernet/freescale/fman/fman.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2772,7 +2772,7 @@ static struct fman *read_dts_node(struct platform_device *of_dev)
27722772
/* Get the FM address */
27732773
res = platform_get_resource(of_dev, IORESOURCE_MEM, 0);
27742774
if (!res) {
2775-
dev_err(&of_dev->dev, "%s: Can't get FMan memory resouce\n",
2775+
dev_err(&of_dev->dev, "%s: Can't get FMan memory resource\n",
27762776
__func__);
27772777
goto fman_node_put;
27782778
}

‎drivers/net/ethernet/mellanox/mlx5/core/health.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,11 @@ static const char *hsynd_str(u8 synd)
176176
case MLX5_HEALTH_SYNDR_EQ_ERR:
177177
return "EQ error";
178178
case MLX5_HEALTH_SYNDR_EQ_INV:
179-
return "Invalid EQ refrenced";
179+
return "Invalid EQ referenced";
180180
case MLX5_HEALTH_SYNDR_FFSER_ERR:
181181
return "FFSER error";
182182
case MLX5_HEALTH_SYNDR_HIGH_TEMP:
183-
return "High temprature";
183+
return "High temperature";
184184
default:
185185
return "unrecognized error";
186186
}

‎drivers/platform/mips/cpu_hwmon.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ static const struct attribute *hwmon_cputemp2[] = {
8080
static ssize_t cpu0_temp_label(struct device *dev,
8181
struct device_attribute *attr, char *buf)
8282
{
83-
return sprintf(buf, "CPU 0 Temprature\n");
83+
return sprintf(buf, "CPU 0 Temperature\n");
8484
}
8585

8686
static ssize_t cpu1_temp_label(struct device *dev,
8787
struct device_attribute *attr, char *buf)
8888
{
89-
return sprintf(buf, "CPU 1 Temprature\n");
89+
return sprintf(buf, "CPU 1 Temperature\n");
9090
}
9191

9292
static ssize_t get_cpu0_temp(struct device *dev,
@@ -169,7 +169,7 @@ static int __init loongson_hwmon_init(void)
169169

170170
ret = create_sysfs_cputemp_files(&cpu_hwmon_dev->kobj);
171171
if (ret) {
172-
pr_err("fail to create cpu temprature interface!\n");
172+
pr_err("fail to create cpu temperature interface!\n");
173173
goto fail_create_sysfs_cputemp_files;
174174
}
175175

‎drivers/scsi/qla2xxx/qla_sup.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3222,7 +3222,7 @@ qla24xx_read_fcp_prio_cfg(scsi_qla_host_t *vha)
32223222
ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE);
32233223
if (!ha->fcp_prio_cfg) {
32243224
ql_log(ql_log_warn, vha, 0x00d5,
3225-
"Unable to allocate memory for fcp priorty data (%x).\n",
3225+
"Unable to allocate memory for fcp priority data (%x).\n",
32263226
FCP_PRIO_CFG_SIZE);
32273227
return QLA_FUNCTION_FAILED;
32283228
}

0 commit comments

Comments
 (0)