Fix various typos of valid in comments
authorNikanth Karthikesan <knikanth@suse.de>
Mon, 20 Sep 2010 06:14:00 +0000 (11:44 +0530)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Sep 2010 15:04:50 +0000 (17:04 +0200)
Fix various typos of valid.

Signed-off-by: Nikanth Karthikesan <knikanth@suse.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/char/pcmcia/cm4000_cs.c
drivers/media/video/zoran/zoran_driver.c
drivers/s390/block/dasd_eckd.c
fs/jfs/jfs_logmgr.c
fs/ocfs2/cluster/tcp_internal.h
include/linux/libata.h

index ec73d9f..273be76 100644 (file)
@@ -1667,7 +1667,7 @@ static int cmm_open(struct inode *inode, struct file *filp)
        /* opening will always block since the
         * monitor will be started by open, which
         * means we have to wait for ATR becoming
-        * vaild = block until valid (or card
+        * valid = block until valid (or card
         * inserted)
         */
        if (filp->f_flags & O_NONBLOCK) {
index 6f89d0a..3c471a4 100644 (file)
@@ -1177,7 +1177,7 @@ static int setup_window(struct zoran_fh *fh, int x, int y, int width, int height
        if (height > BUZ_MAX_HEIGHT)
                height = BUZ_MAX_HEIGHT;
 
-       /* Check for vaild parameters */
+       /* Check for invalid parameters */
        if (width < BUZ_MIN_WIDTH || height < BUZ_MIN_HEIGHT ||
            width > BUZ_MAX_WIDTH || height > BUZ_MAX_HEIGHT) {
                dprintk(1,
index 66360c2..59b4ecf 100644 (file)
@@ -1190,7 +1190,7 @@ dasd_eckd_check_characteristics(struct dasd_device *device)
                goto out_err2;
        }
        /*
-        * dasd_eckd_vaildate_server is done on the first device that
+        * dasd_eckd_validate_server is done on the first device that
         * is found for an LCU. All later other devices have to wait
         * for it, so they will read the correct feature codes.
         */
@@ -1216,7 +1216,7 @@ dasd_eckd_check_characteristics(struct dasd_device *device)
                                "Read device characteristic failed, rc=%d", rc);
                goto out_err3;
        }
-       /* find the vaild cylinder size */
+       /* find the valid cylinder size */
        if (private->rdc_data.no_cyl == LV_COMPAT_CYL &&
            private->rdc_data.long_no_cyl)
                private->real_cyl = private->rdc_data.long_no_cyl;
index c51af2a..e1b8493 100644 (file)
@@ -1010,15 +1010,13 @@ static int lmLogSync(struct jfs_log * log, int hard_sync)
                 * option 2 - shutdown file systems
                 *            associated with log ?
                 * option 3 - extend log ?
-                */
-               /*
                 * option 4 - second chance
                 *
                 * mark log wrapped, and continue.
                 * when all active transactions are completed,
-                * mark log vaild for recovery.
+                * mark log valid for recovery.
                 * if crashed during invalid state, log state
-                * implies invald log, forcing fsck().
+                * implies invalid log, forcing fsck().
                 */
                /* mark log state log wrap in log superblock */
                /* log->state = LOGWRAP; */
index 96fa7eb..15fdbdf 100644 (file)
@@ -129,7 +129,7 @@ struct o2net_node {
 
 struct o2net_sock_container {
        struct kref             sc_kref;
-       /* the next two are vaild for the life time of the sc */
+       /* the next two are valid for the life time of the sc */
        struct socket           *sc_sock;
        struct o2nm_node        *sc_node;
 
index f010f18..9eee84b 100644 (file)
@@ -340,7 +340,7 @@ enum {
        ATA_EHI_DID_HARDRESET   = (1 << 17), /* already soft-reset this port */
        ATA_EHI_PRINTINFO       = (1 << 18), /* print configuration info */
        ATA_EHI_SETMODE         = (1 << 19), /* configure transfer mode */
-       ATA_EHI_POST_SETMODE    = (1 << 20), /* revaildating after setmode */
+       ATA_EHI_POST_SETMODE    = (1 << 20), /* revalidating after setmode */
 
        ATA_EHI_DID_RESET       = ATA_EHI_DID_SOFTRESET | ATA_EHI_DID_HARDRESET,