OSDN Git Service

Staging: lustre: config.c: fix lines exceeding 80 characters reported by checkpatch.pl
authorRafaël Bocquet <rafaelbocquet+personnel@gmail.com>
Thu, 2 Apr 2015 15:12:33 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 10:23:00 +0000 (12:23 +0200)
Signed-off-by: Rafaël Bocquet <rafael.bocquet@ens.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/config.c

index af171e2..5f50159 100644 (file)
@@ -532,14 +532,18 @@ lnet_str2tbs_expand(struct list_head *tbs, char *str)
                if (enditem == parsed)          /* no empty items */
                        goto failed;
 
-               if (sscanf(parsed, "%d-%d/%d%n", &lo, &hi, &stride, &scanned) < 3) {
+               if (sscanf(parsed, "%d-%d/%d%n", &lo, &hi,
+                          &stride, &scanned) < 3) {
 
                        if (sscanf(parsed, "%d-%d%n", &lo, &hi, &scanned) < 2) {
 
                                /* simple string enumeration */
-                               if (lnet_expand1tb(&pending, str, sep, sep2,
-                                                  parsed, (int)(enditem - parsed)) != 0)
+                               if (lnet_expand1tb(
+                                    &pending, str, sep, sep2,
+                                    parsed,
+                                    (int)(enditem - parsed)) != 0) {
                                        goto failed;
+                               }
 
                                continue;
                        }