Commit 3a338e20 authored by Rafaël Bocquet's avatar Rafaël Bocquet Committed by Greg Kroah-Hartman

Staging: lustre: config.c: fix lines exceeding 80 characters reported by checkpatch.pl

Signed-off-by: default avatarRafaël Bocquet <rafael.bocquet@ens.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 07eb422d
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment