treewide: Fix typos in printk
authorMasanari Iida <standby24x7@gmail.com>
Tue, 19 Apr 2016 15:27:33 +0000 (00:27 +0900)
committerJiri Kosina <jkosina@suse.cz>
Thu, 28 Apr 2016 08:52:28 +0000 (10:52 +0200)
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>
12 files changed:
arch/powerpc/kernel/mce.c
drivers/clk/tegra/clk-tegra20.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/infiniband/hw/cxgb3/iwch_cm.c
drivers/input/touchscreen/cyttsp4_core.c
drivers/net/ethernet/broadcom/bgmac.c
drivers/net/ethernet/freescale/fman/fman.c
drivers/net/ethernet/mellanox/mlx5/core/health.c
drivers/platform/mips/cpu_hwmon.c
drivers/scsi/qla2xxx/qla_sup.c
drivers/target/iscsi/iscsi_target_auth.c
drivers/watchdog/watchdog_core.c

index b2eb4686bd8f40155bbb4a982549de0ae8de8567..671fd5122406fc8c13c94713408c6c70d6bb7761 100644 (file)
@@ -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:
index 7ad63837694f66c60440d548633294948a55dea2..837e5cbd60e9ce842c97e87151b9782779ed81be 100644 (file)
@@ -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;
index 09198d0b58140c8d00499588d641c7116011bc77..9c54f1160614dc678be18f60e582a4afe2424f0c 100644 (file)
@@ -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]);
index d403231a4aff8d571de464b6a9d5158ec5edd1d0..3e8431b5cad733d778b27e481bd44ade8a50c35c 100644 (file)
@@ -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);
 }
 
index 5ed31057430c68f03b91e27ca8b782002f37896e..44deca88c57972d2a65f3fca51ca852116f48810 100644 (file)
@@ -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;
        }
index 99b30a952b38736a825efc5149aa9027f6fae64d..718cd69db708ce5cd4dd7cd3595385deb81254d4 100644 (file)
@@ -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;
        }
index ea83712a6d62cf89136f19fbe6b0ce1cc18370ab..bcb9dccada4dcbb898e3660d6dd1cf11ec588423 100644 (file)
@@ -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;
        }
index f5deb642d0d6c0e693805e34234cbb0cb2e5ccc6..42d16b9458e485205a344ab9a988caf7ae185632 100644 (file)
@@ -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";
        }
index 0f6c63e17049e9eebed64bef0dcd2cdceff7facd..4993e19f153182d293a65ff6fdf94a406cef3d47 100644 (file)
@@ -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;
        }
 
index 5e93923164252926f8ee9c34d78d74cae79716e1..9f6012b78e565e3225e3e1f9b8a6f23e7eeef103 100644 (file)
@@ -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;
                }
index 667406fcf4d3daf03acf84b24be9d6538c95f20e..e116f0e845c08c4f7c91bd9d91c891c1fb9683b7 100644 (file)
@@ -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
index c1658fe73d58a19a774ebdcb227b13c6b0b5038b..981a668b17e331ce47aafb95b87aabd8422a3cb6 100644 (file)
@@ -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);
        }