staging: wlan-ng: fix expression continuation in prism2fw.c

checkpatch reports "CHECK: Logical continuations should be on the
previous line" when a continuation line begins with an
operator. Reformat the code so that the operator appears at the end of
the line being continued.

Signed-off-by: Tim Collier <osdevtc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tim Collier 2018-07-06 20:38:13 +01:00 committed by Greg Kroah-Hartman
parent 33d77fc00e
commit 0148f49c11
1 changed files with 4 additions and 3 deletions

View File

@ -1189,9 +1189,10 @@ static int validate_identity(void)
/* PRI compat range */ /* PRI compat range */
if ((s3info[i].info.compat.role == 1) && if ((s3info[i].info.compat.role == 1) &&
(s3info[i].info.compat.id == 3)) { (s3info[i].info.compat.id == 3)) {
if ((s3info[i].info.compat.bottom > priid.top) if ((s3info[i].info.compat.bottom >
|| (s3info[i].info.compat.top < priid.top) ||
priid.bottom)) { (s3info[i].info.compat.top <
priid.bottom)) {
result = 3; result = 3;
} }
} }