2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-16 01:04:08 +08:00

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

View File

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