提交 b0126abf 编写于 作者: A Anil Belur 提交者: Greg Kroah-Hartman

staging: lustre: llite: dir.c - fix for coding style issues

- this fixes some coding style issues "ERROR: "(foo*)" should be "(foo *)"
Signed-off-by: NAnil Belur <askb23@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 eb73f514
...@@ -1266,7 +1266,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1266,7 +1266,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
if (mdtidx < 0) if (mdtidx < 0)
return mdtidx; return mdtidx;
if (put_user((int)mdtidx, (int*)arg)) if (put_user((int)mdtidx, (int *)arg))
return -EFAULT; return -EFAULT;
return 0; return 0;
...@@ -1778,7 +1778,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) ...@@ -1778,7 +1778,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return -EFAULT; return -EFAULT;
return 0; return 0;
case LL_IOC_GET_CONNECT_FLAGS: { 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_SEND:
case OBD_IOC_CHANGELOG_CLEAR: case OBD_IOC_CHANGELOG_CLEAR:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册