treewide: fix comments and printk msgs
authorMasanari Iida <standby24x7@gmail.com>
Tue, 7 Jan 2014 12:58:06 +0000 (21:58 +0900)
committerJiri Kosina <jkosina@suse.cz>
Tue, 7 Jan 2014 14:06:07 +0000 (15:06 +0100)
This patch fixed several typo in printk from various
part of kernel source.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/powerpc/platforms/powernv/opal-flash.c
drivers/i2c/busses/i2c-stu300.c
drivers/misc/fsa9480.c
drivers/misc/mei/nfc.c
drivers/net/wan/lmc/lmc_main.c
drivers/scsi/qla2xxx/qla_nx2.c
drivers/scsi/qla4xxx/ql4_83xx.c
drivers/tty/serial/crisv10.c
drivers/usb/serial/kobil_sct.c
fs/btrfs/tests/free-space-tests.c
net/nfc/hci/llc_shdlc.c

index 6ffa6b1ec5b784e2dcfbb3ee555acbd22b5c8526..d8773079ce195afd380a6fa97c5fc5809a976a78 100644 (file)
@@ -126,7 +126,7 @@ struct opal_sg_list {
 
 struct validate_flash_t {
        int             status;         /* Return status */
-       void            *buf;           /* Candiate image buffer */
+       void            *buf;           /* Candidate image buffer */
        uint32_t        buf_size;       /* Image size */
        uint32_t        result;         /* Update results token */
 };
@@ -500,7 +500,7 @@ static int alloc_image_buf(char *buffer, size_t count)
 
        memcpy(&image_header, (void *)buffer, sizeof(struct image_header_t));
        image_data.size = be32_to_cpu(image_header.size);
-       pr_debug("FLASH: Candiate image size = %u\n", image_data.size);
+       pr_debug("FLASH: Candidate image size = %u\n", image_data.size);
 
        if (image_data.size > MAX_IMAGE_SIZE) {
                pr_warn("FLASH: Too large image\n");
index 04a17b9b38bbbb9f54cd8cb91ce2888aac95a478..5b80ef3108410fd36c48db2d3d27a3ea55a361cd 100644 (file)
@@ -801,7 +801,7 @@ static int stu300_xfer_msg(struct i2c_adapter *adap,
        /* Check that the bus is free, or wait until some timeout occurs */
        ret = stu300_wait_while_busy(dev);
        if (ret != 0) {
-               dev_err(&dev->pdev->dev, "timout waiting for transfer "
+               dev_err(&dev->pdev->dev, "timeout waiting for transfer "
                       "to commence.\n");
                goto exit_disable;
        }
index a725c79c35f5aa74bd682592216c291934fc2815..71d2793b372cacfc130da59b8bf818df0fe604f9 100644 (file)
@@ -396,7 +396,7 @@ static int fsa9480_irq_init(struct fsa9480_usbsw *usbsw)
                                IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
                                "fsa9480 micro USB", usbsw);
                if (ret) {
-                       dev_err(&client->dev, "failed to reqeust IRQ\n");
+                       dev_err(&client->dev, "failed to request IRQ\n");
                        return ret;
                }
 
index 994ca4aff1a37ecf1b6fc53a2b44e1f446b710dd..04087d1369d9f41fd0309c887d37888582051dce 100644 (file)
@@ -428,7 +428,7 @@ static void mei_nfc_init(struct work_struct *work)
        mutex_unlock(&dev->device_lock);
 
        if (mei_nfc_if_version(ndev) < 0) {
-               dev_err(&dev->pdev->dev, "Could not get the NFC interfave version");
+               dev_err(&dev->pdev->dev, "Could not get the NFC interface version");
 
                goto err;
        }
index 7ef435bab42550ee4f220333e192be158634e875..f51204cfe12fb1e08c730683c7f5d0747ca1156d 100644 (file)
@@ -2126,7 +2126,7 @@ bug_out:
 
     spin_unlock_irqrestore(&sc->lmc_lock, flags);
 
-    lmc_trace(dev, "lmc_driver_timout out");
+    lmc_trace(dev, "lmc_driver_timeout out");
 
 
 }
index 8164cc9e7286a49a51ed31bf72201f61827213bb..4f5d66b2168b3604f978bfe0e50a5dde1e6ba257 100644 (file)
@@ -2253,7 +2253,7 @@ qla8044_minidump_process_rdmem(struct scsi_qla_host *vha,
 
        if (r_addr & 0xf) {
                ql_dbg(ql_dbg_p3p, vha, 0xb0f1,
-                   "[%s]: Read addr 0x%x not 16 bytes alligned\n",
+                   "[%s]: Read addr 0x%x not 16 bytes aligned\n",
                    __func__, r_addr);
                return QLA_FUNCTION_FAILED;
        }
index 8196c2f7915c49882433f1501e47667526d14a1c..919284834ad7329d347b5f890aa15f7f2ad34580 100644 (file)
@@ -465,7 +465,7 @@ int qla4_83xx_drv_lock(struct scsi_qla_host *ha)
                                }
                                /* Recovery Failed, some other function
                                 * has the lock, wait for 2secs and retry */
-                               ql4_printk(KERN_INFO, ha, "%s: IDC lock Recovery by %d failed, Retrying timout\n",
+                               ql4_printk(KERN_INFO, ha, "%s: IDC lock Recovery by %d failed, Retrying timeout\n",
                                           __func__, ha->func_num);
                                timeout = 0;
                        }
index 477f22f773fc3c17b5dd2732a45c6fce4d955725..690bdea0a0c17abac553a15c7fbcc9549de9bfb7 100644 (file)
@@ -2153,7 +2153,7 @@ static void flush_timeout_function(unsigned long data)
 
        fast_timers[info->line].function = NULL;
        serial_fast_timer_expired++;
-       TIMERD(DEBUG_LOG(info->line, "flush_timout %i ", info->line));
+       TIMERD(DEBUG_LOG(info->line, "flush_timeout %i ", info->line));
        TIMERD(DEBUG_LOG(info->line, "num expired: %i\n", serial_fast_timer_expired));
        check_flush_timeout(info);
 }
index 78b48c31abf5cb335f24d822643a2003e80f43ee..4c94ffcb66cdf1152eeb27dfd383bbf9ffca8108 100644 (file)
@@ -194,7 +194,7 @@ static int kobil_open(struct tty_struct *tty, struct usb_serial_port *port)
                          KOBIL_TIMEOUT
        );
        dev_dbg(dev, "%s - Send get_HW_version URB returns: %i\n", __func__, result);
-       dev_dbg(dev, "Harware version: %i.%i.%i\n", transfer_buffer[0],
+       dev_dbg(dev, "Hardware version: %i.%i.%i\n", transfer_buffer[0],
                transfer_buffer[1], transfer_buffer[2]);
 
        /* get firmware version */
index 790f118c3277bb0ea05477f97671fb5614396927..c8d9ddf84c6946d166b4e8dc67fa0ffd24a99b46 100644 (file)
@@ -266,7 +266,7 @@ static int test_bitmaps_and_extents(struct btrfs_block_group_cache *cache)
        }
 
        if (test_check_exists(cache, 512 * 1024, 3 * 1024 * 1024)) {
-               test_msg("Left over peices after removing overlapping\n");
+               test_msg("Left over pieces after removing overlapping\n");
                return -1;
        }
 
index 27b313befc35eff1f5cfceb41f8ecf9be618c159..3e53c1e029dc2f9079fe1d25c1eb67cd7c3f6073 100644 (file)
@@ -300,7 +300,7 @@ static void llc_shdlc_rcv_rej(struct llc_shdlc *shdlc, int y_nr)
 {
        struct sk_buff *skb;
 
-       pr_debug("remote asks retransmition from frame %d\n", y_nr);
+       pr_debug("remote asks retransmission from frame %d\n", y_nr);
 
        if (llc_shdlc_x_lteq_y_lt_z(shdlc->dnr, y_nr, shdlc->ns)) {
                if (shdlc->t2_active) {