staging: wlan-ng: fix expression continuation in prism2fw.c
authorTim Collier <osdevtc@gmail.com>
Fri, 6 Jul 2018 19:38:13 +0000 (20:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jul 2018 14:35:08 +0000 (16:35 +0200)
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>
drivers/staging/wlan-ng/prism2fw.c

index 5860d0d..4fb9129 100644 (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;
                                }
                        }