]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging: lustre: llite: dir.c - fix for coding style issues
authorAnil Belur <askb23@gmail.com>
Wed, 25 Jun 2014 04:57:30 +0000 (14:57 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2014 00:54:59 +0000 (20:54 -0400)
- this fixes some coding style issues "ERROR: "(foo*)" should be "(foo *)"

Signed-off-by: Anil Belur <askb23@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/dir.c

index 5d096d8f7fb13797733b5b1149e186bea57a51e6..6efaf03196d57bab834c400fc2e0ce57c06dfe36 100644 (file)
@@ -1266,7 +1266,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
                if (mdtidx < 0)
                        return mdtidx;
 
-               if (put_user((int)mdtidx, (int*)arg))
+               if (put_user((int)mdtidx, (int *)arg))
                        return -EFAULT;
 
                return 0;
@@ -1778,7 +1778,7 @@ out_quotactl:
                        return -EFAULT;
                return 0;
        case LL_IOC_GET_CONNECT_FLAGS: {
-               return obd_iocontrol(cmd, sbi->ll_md_exp, 0, NULL, (void*)arg);
+               return obd_iocontrol(cmd, sbi->ll_md_exp, 0, NULL, (void *)arg);
        }
        case OBD_IOC_CHANGELOG_SEND:
        case OBD_IOC_CHANGELOG_CLEAR: