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

Signed-off-by: Rafaël Bocquet <rafael.bocquet@ens.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Rafaël Bocquet 2015-04-02 17:12:33 +02:00 committed by Greg Kroah-Hartman
parent 07eb422db4
commit 3a338e2014

View 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;
}