浏览代码

messages: i2o: Fix typo in messages/i2o

Correct spelling typo in messages/i2o.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Masanari Iida 12 年之前
父节点
当前提交
8fdbb340ef
共有 3 个文件被更改,包括 8 次插入8 次删除
  1. 6 6
      drivers/message/i2o/README.ioctl
  2. 1 1
      drivers/message/i2o/i2o_block.c
  3. 1 1
      drivers/message/i2o/i2o_config.c

+ 6 - 6
drivers/message/i2o/README.ioctl

@@ -138,7 +138,7 @@ VI. Setting Parameters
 
 
    The return value is the size in bytes of the data written into
    The return value is the size in bytes of the data written into
    ops->resbuf if no errors occur.  If an error occurs, -1 is returned 
    ops->resbuf if no errors occur.  If an error occurs, -1 is returned 
-   and errno is set appropriatly:
+   and errno is set appropriately:
 
 
       EFAULT      Invalid user space pointer was passed
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
       ENXIO       Invalid IOP number
@@ -222,7 +222,7 @@ VIII. Downloading Software
    RETURNS
    RETURNS
 
 
    This function returns 0 no errors occur. If an error occurs, -1 
    This function returns 0 no errors occur. If an error occurs, -1 
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
 
       EFAULT      Invalid user space pointer was passed
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
       ENXIO       Invalid IOP number
@@ -264,7 +264,7 @@ IX. Uploading Software
    RETURNS
    RETURNS
 
 
    This function returns 0 if no errors occur.  If an error occurs, -1
    This function returns 0 if no errors occur.  If an error occurs, -1
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
 
       EFAULT      Invalid user space pointer was passed
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
       ENXIO       Invalid IOP number
@@ -301,7 +301,7 @@ X. Removing Software
    RETURNS
    RETURNS
 
 
    This function returns 0 if no errors occur.  If an error occurs, -1
    This function returns 0 if no errors occur.  If an error occurs, -1
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
 
       EFAULT      Invalid user space pointer was passed
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
       ENXIO       Invalid IOP number
@@ -325,7 +325,7 @@ X. Validating Configuration
    RETURNS
    RETURNS
 
 
    This function returns 0 if no erro occur.  If an error occurs, -1 is
    This function returns 0 if no erro occur.  If an error occurs, -1 is
-   returned and errno is set appropriatly:
+   returned and errno is set appropriately:
 
 
       ETIMEDOUT   Timeout waiting for reply message
       ETIMEDOUT   Timeout waiting for reply message
       ENXIO       Invalid IOP number
       ENXIO       Invalid IOP number
@@ -360,7 +360,7 @@ XI. Configuration Dialog
    RETURNS
    RETURNS
 
 
    This function returns 0 if no error occur. If an error occurs, -1
    This function returns 0 if no error occur. If an error occurs, -1
-   is returned and errno is set appropriatly:
+   is returned and errno is set appropriately:
 
 
       EFAULT      Invalid user space pointer was passed
       EFAULT      Invalid user space pointer was passed
       ENXIO       Invalid IOP number
       ENXIO       Invalid IOP number

+ 1 - 1
drivers/message/i2o/i2o_block.c

@@ -609,7 +609,7 @@ static int i2o_block_release(struct gendisk *disk, fmode_t mode)
 	u8 operation;
 	u8 operation;
 
 
 	/*
 	/*
-	 * This is to deail with the case of an application
+	 * This is to deal with the case of an application
 	 * opening a device and then the device disappears while
 	 * opening a device and then the device disappears while
 	 * it's in use, and then the application tries to release
 	 * it's in use, and then the application tries to release
 	 * it.  ex: Unmounting a deleted RAID volume at reboot.
 	 * it.  ex: Unmounting a deleted RAID volume at reboot.

+ 1 - 1
drivers/message/i2o/i2o_config.c

@@ -189,7 +189,7 @@ static int i2o_cfg_parms(unsigned long arg, unsigned int type)
 		return -ENXIO;
 		return -ENXIO;
 
 
 	/*
 	/*
-	 * Stop users being able to try and allocate arbitary amounts
+	 * Stop users being able to try and allocate arbitrary amounts
 	 * of DMA space. 64K is way more than sufficient for this.
 	 * of DMA space. 64K is way more than sufficient for this.
 	 */
 	 */
 	if (kcmd.oplen > 65536)
 	if (kcmd.oplen > 65536)