Commit 817f2c84 authored by Nikanth Karthikesan's avatar Nikanth Karthikesan Committed by Jiri Kosina

Fix various typos of valid in comments

Fix various typos of valid.
Signed-off-by: default avatarNikanth Karthikesan <knikanth@suse.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 0bc79f7f
...@@ -1667,7 +1667,7 @@ static int cmm_open(struct inode *inode, struct file *filp) ...@@ -1667,7 +1667,7 @@ static int cmm_open(struct inode *inode, struct file *filp)
/* opening will always block since the /* opening will always block since the
* monitor will be started by open, which * monitor will be started by open, which
* means we have to wait for ATR becoming * means we have to wait for ATR becoming
* vaild = block until valid (or card * valid = block until valid (or card
* inserted) * inserted)
*/ */
if (filp->f_flags & O_NONBLOCK) { if (filp->f_flags & O_NONBLOCK) {
......
...@@ -1177,7 +1177,7 @@ static int setup_window(struct zoran_fh *fh, int x, int y, int width, int height ...@@ -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) if (height > BUZ_MAX_HEIGHT)
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 || if (width < BUZ_MIN_WIDTH || height < BUZ_MIN_HEIGHT ||
width > BUZ_MAX_WIDTH || height > BUZ_MAX_HEIGHT) { width > BUZ_MAX_WIDTH || height > BUZ_MAX_HEIGHT) {
dprintk(1, dprintk(1,
......
...@@ -1190,7 +1190,7 @@ dasd_eckd_check_characteristics(struct dasd_device *device) ...@@ -1190,7 +1190,7 @@ dasd_eckd_check_characteristics(struct dasd_device *device)
goto out_err2; 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 * is found for an LCU. All later other devices have to wait
* for it, so they will read the correct feature codes. * for it, so they will read the correct feature codes.
*/ */
...@@ -1216,7 +1216,7 @@ dasd_eckd_check_characteristics(struct dasd_device *device) ...@@ -1216,7 +1216,7 @@ dasd_eckd_check_characteristics(struct dasd_device *device)
"Read device characteristic failed, rc=%d", rc); "Read device characteristic failed, rc=%d", rc);
goto out_err3; goto out_err3;
} }
/* find the vaild cylinder size */ /* find the valid cylinder size */
if (private->rdc_data.no_cyl == LV_COMPAT_CYL && if (private->rdc_data.no_cyl == LV_COMPAT_CYL &&
private->rdc_data.long_no_cyl) private->rdc_data.long_no_cyl)
private->real_cyl = private->rdc_data.long_no_cyl; private->real_cyl = private->rdc_data.long_no_cyl;
......
...@@ -1010,15 +1010,13 @@ static int lmLogSync(struct jfs_log * log, int hard_sync) ...@@ -1010,15 +1010,13 @@ static int lmLogSync(struct jfs_log * log, int hard_sync)
* option 2 - shutdown file systems * option 2 - shutdown file systems
* associated with log ? * associated with log ?
* option 3 - extend log ? * option 3 - extend log ?
*/
/*
* option 4 - second chance * option 4 - second chance
* *
* mark log wrapped, and continue. * mark log wrapped, and continue.
* when all active transactions are completed, * when all active transactions are completed,
* mark log vaild for recovery. * mark log valid for recovery.
* if crashed during invalid state, log state * 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 */ /* mark log state log wrap in log superblock */
/* log->state = LOGWRAP; */ /* log->state = LOGWRAP; */
......
...@@ -129,7 +129,7 @@ struct o2net_node { ...@@ -129,7 +129,7 @@ struct o2net_node {
struct o2net_sock_container { struct o2net_sock_container {
struct kref sc_kref; 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 socket *sc_sock;
struct o2nm_node *sc_node; struct o2nm_node *sc_node;
......
...@@ -340,7 +340,7 @@ enum { ...@@ -340,7 +340,7 @@ enum {
ATA_EHI_DID_HARDRESET = (1 << 17), /* already soft-reset this port */ ATA_EHI_DID_HARDRESET = (1 << 17), /* already soft-reset this port */
ATA_EHI_PRINTINFO = (1 << 18), /* print configuration info */ ATA_EHI_PRINTINFO = (1 << 18), /* print configuration info */
ATA_EHI_SETMODE = (1 << 19), /* configure transfer mode */ 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, ATA_EHI_DID_RESET = ATA_EHI_DID_SOFTRESET | ATA_EHI_DID_HARDRESET,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment