提交 c01e0159 编写于 作者: M Masanari Iida 提交者: Jiri Kosina

treewide: Fix typos in printk

This patch fix spelling typos in printk from various part
of the codes.
Signed-off-by: NMasanari Iida <standby24x7@gmail.com>
Acked-by: NRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 35fc7b7d
...@@ -284,7 +284,7 @@ void machine_check_print_event_info(struct machine_check_event *evt) ...@@ -284,7 +284,7 @@ void machine_check_print_event_info(struct machine_check_event *evt)
printk("%s Effective address: %016llx\n", printk("%s Effective address: %016llx\n",
level, evt->u.ue_error.effective_address); level, evt->u.ue_error.effective_address);
if (evt->u.ue_error.physical_address_provided) 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); level, evt->u.ue_error.physical_address);
break; break;
case MCE_ERROR_TYPE_SLB: case MCE_ERROR_TYPE_SLB:
......
...@@ -623,7 +623,7 @@ static unsigned int tegra20_get_pll_ref_div(void) ...@@ -623,7 +623,7 @@ static unsigned int tegra20_get_pll_ref_div(void)
case OSC_CTRL_PLL_REF_DIV_4: case OSC_CTRL_PLL_REF_DIV_4:
return 4; return 4;
default: default:
pr_err("Invalied pll ref divider %d\n", pll_ref_div); pr_err("Invalid pll ref divider %d\n", pll_ref_div);
BUG(); BUG();
} }
return 0; return 0;
......
...@@ -778,9 +778,9 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m) ...@@ -778,9 +778,9 @@ int etnaviv_gpu_debugfs(struct etnaviv_gpu *gpu, struct seq_file *m)
debug.state[0] == debug.state[1]) { debug.state[0] == debug.state[1]) {
seq_puts(m, "seems to be stuck\n"); seq_puts(m, "seems to be stuck\n");
} else if (debug.address[0] == debug.address[1]) { } else if (debug.address[0] == debug.address[1]) {
seq_puts(m, "adress is constant\n"); seq_puts(m, "address is constant\n");
} else { } 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]); seq_printf(m, "\t address 0: 0x%08x\n", debug.address[0]);
......
...@@ -367,7 +367,7 @@ static void arp_failure_discard(struct t3cdev *dev, struct sk_buff *skb) ...@@ -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) 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); kfree_skb(skb);
} }
......
...@@ -1499,7 +1499,7 @@ static int cyttsp4_core_sleep_(struct cyttsp4 *cd) ...@@ -1499,7 +1499,7 @@ static int cyttsp4_core_sleep_(struct cyttsp4 *cd)
if (IS_BOOTLOADER(mode[0], mode[1])) { if (IS_BOOTLOADER(mode[0], mode[1])) {
mutex_unlock(&cd->system_lock); 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; rc = -EINVAL;
goto error; goto error;
} }
......
...@@ -1515,7 +1515,7 @@ static int bgmac_mii_register(struct bgmac *bgmac) ...@@ -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_dev = phy_connect(bgmac->net_dev, bus_id, &bgmac_adjust_link,
PHY_INTERFACE_MODE_MII); PHY_INTERFACE_MODE_MII);
if (IS_ERR(phy_dev)) { if (IS_ERR(phy_dev)) {
bgmac_err(bgmac, "PHY connecton failed\n"); bgmac_err(bgmac, "PHY connection failed\n");
err = PTR_ERR(phy_dev); err = PTR_ERR(phy_dev);
goto err_unregister_bus; goto err_unregister_bus;
} }
......
...@@ -2772,7 +2772,7 @@ static struct fman *read_dts_node(struct platform_device *of_dev) ...@@ -2772,7 +2772,7 @@ static struct fman *read_dts_node(struct platform_device *of_dev)
/* Get the FM address */ /* Get the FM address */
res = platform_get_resource(of_dev, IORESOURCE_MEM, 0); res = platform_get_resource(of_dev, IORESOURCE_MEM, 0);
if (!res) { 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__); __func__);
goto fman_node_put; goto fman_node_put;
} }
......
...@@ -176,11 +176,11 @@ static const char *hsynd_str(u8 synd) ...@@ -176,11 +176,11 @@ static const char *hsynd_str(u8 synd)
case MLX5_HEALTH_SYNDR_EQ_ERR: case MLX5_HEALTH_SYNDR_EQ_ERR:
return "EQ error"; return "EQ error";
case MLX5_HEALTH_SYNDR_EQ_INV: case MLX5_HEALTH_SYNDR_EQ_INV:
return "Invalid EQ refrenced"; return "Invalid EQ referenced";
case MLX5_HEALTH_SYNDR_FFSER_ERR: case MLX5_HEALTH_SYNDR_FFSER_ERR:
return "FFSER error"; return "FFSER error";
case MLX5_HEALTH_SYNDR_HIGH_TEMP: case MLX5_HEALTH_SYNDR_HIGH_TEMP:
return "High temprature"; return "High temperature";
default: default:
return "unrecognized error"; return "unrecognized error";
} }
......
...@@ -80,13 +80,13 @@ static const struct attribute *hwmon_cputemp2[] = { ...@@ -80,13 +80,13 @@ static const struct attribute *hwmon_cputemp2[] = {
static ssize_t cpu0_temp_label(struct device *dev, static ssize_t cpu0_temp_label(struct device *dev,
struct device_attribute *attr, char *buf) 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, static ssize_t cpu1_temp_label(struct device *dev,
struct device_attribute *attr, char *buf) 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, static ssize_t get_cpu0_temp(struct device *dev,
...@@ -169,7 +169,7 @@ static int __init loongson_hwmon_init(void) ...@@ -169,7 +169,7 @@ static int __init loongson_hwmon_init(void)
ret = create_sysfs_cputemp_files(&cpu_hwmon_dev->kobj); ret = create_sysfs_cputemp_files(&cpu_hwmon_dev->kobj);
if (ret) { 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; goto fail_create_sysfs_cputemp_files;
} }
......
...@@ -3222,7 +3222,7 @@ qla24xx_read_fcp_prio_cfg(scsi_qla_host_t *vha) ...@@ -3222,7 +3222,7 @@ qla24xx_read_fcp_prio_cfg(scsi_qla_host_t *vha)
ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE); ha->fcp_prio_cfg = vmalloc(FCP_PRIO_CFG_SIZE);
if (!ha->fcp_prio_cfg) { if (!ha->fcp_prio_cfg) {
ql_log(ql_log_warn, vha, 0x00d5, 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); FCP_PRIO_CFG_SIZE);
return QLA_FUNCTION_FAILED; return QLA_FUNCTION_FAILED;
} }
......
...@@ -293,7 +293,7 @@ static int chap_server_compute_md5( ...@@ -293,7 +293,7 @@ static int chap_server_compute_md5(
pr_debug("[server] MD5 Digests do not match!\n\n"); pr_debug("[server] MD5 Digests do not match!\n\n");
goto out; goto out;
} else } else
pr_debug("[server] MD5 Digests match, CHAP connetication" pr_debug("[server] MD5 Digests match, CHAP connection"
" successful.\n\n"); " successful.\n\n");
/* /*
* One way authentication has succeeded, return now if mutual * One way authentication has succeeded, return now if mutual
......
...@@ -262,7 +262,7 @@ static int __watchdog_register_device(struct watchdog_device *wdd) ...@@ -262,7 +262,7 @@ static int __watchdog_register_device(struct watchdog_device *wdd)
ret = register_restart_handler(&wdd->restart_nb); ret = register_restart_handler(&wdd->restart_nb);
if (ret) 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); wdd->id, ret);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册