Commit 0148f49c authored by Tim Collier's avatar Tim Collier Committed by Greg Kroah-Hartman

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: default avatarTim Collier <osdevtc@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 33d77fc0
...@@ -1189,9 +1189,10 @@ static int validate_identity(void) ...@@ -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;
} }
} }
......
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