]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: lustre: fld: lproc_fld.c fixed warning
authorAnil Belur <askb23@gmail.com>
Thu, 19 Jun 2014 11:50:41 +0000 (21:50 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:23:09 +0000 (17:23 -0700)
fixed warning for line over 80 characters by moving the struct init
onto a diff line.

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

index 530adde46963b42ce0ab8c64f1eaa4345230e79d..8b366356f77fd8c6da2d85b8302770c630574ba7 100644 (file)
@@ -91,10 +91,11 @@ static ssize_t
 fld_proc_hash_seq_write(struct file *file, const char *buffer,
                        size_t count, loff_t *off)
 {
-       struct lu_client_fld *fld = ((struct seq_file *)file->private_data)->private;
+       struct lu_client_fld *fld;
        struct lu_fld_hash *hash = NULL;
        int i;
 
+       fld = ((struct seq_file *)file->private_data)->private;
        LASSERT(fld != NULL);
 
        for (i = 0; fld_hash[i].fh_name != NULL; i++) {