diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2014-08-30 22:11:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-30 13:17:51 -0700 |
commit | bdbb0512205f717301e93421c08765c9af2bbe1c (patch) | |
tree | 3c2ae1c7757cf9c8fb2f91557737c956cdf4971a /drivers/staging/lustre/lustre/llite/lloop.c | |
parent | staging: comedi: s626: remove unnecessary variable initialization (diff) | |
download | linux-dev-bdbb0512205f717301e93421c08765c9af2bbe1c.tar.xz linux-dev-bdbb0512205f717301e93421c08765c9af2bbe1c.zip |
staging: lustre: adjust spacing within pointer casts
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
type T;
expression e;
@@
(
- T *
+ T *
)
e
// </smpl>
This semantic patch just removes the cast and adds it back, but when it
does so, it follows the spacing conventions of Linux.
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lustre/llite/lloop.c')
-rw-r--r-- | drivers/staging/lustre/lustre/llite/lloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/llite/lloop.c b/drivers/staging/lustre/lustre/llite/lloop.c index 177137af7e97..a5a41156ad72 100644 --- a/drivers/staging/lustre/lustre/llite/lloop.c +++ b/drivers/staging/lustre/lustre/llite/lloop.c @@ -705,7 +705,7 @@ static enum llioc_iter lloop_ioctl(struct inode *unused, struct file *file, dev = MKDEV(lloop_major, lo->lo_number); /* quit if the used pointer is writable */ - if (put_user((long)old_encode_dev(dev), (long*)arg)) { + if (put_user((long)old_encode_dev(dev), (long *)arg)) { err = -EFAULT; goto out; } |