]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: speakup: Moved OR operator to previous line.
authorArushi Singhal <arushisinghal19971997@gmail.com>
Tue, 21 Mar 2017 11:42:30 +0000 (17:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:20:41 +0000 (14:20 +0100)
Moved logical OR operator to previous line to fix the following
checkpatch issue:

CHECK: Logical continuations should be on the previous line.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c

index bc159924d4aa634602277e08806fb26861d11ed2..8720de27b03562ad67ac3a6f3b01a0d96152f18c 100644 (file)
@@ -2174,10 +2174,10 @@ speakup_key(struct vc_data *vc, int shift_state, int keycode, u_short keysym,
        if (up_flag || spk_killed || type == KT_SHIFT)
                goto out;
        spk_shut_up &= 0xfe;
-       kh = (value == KVAL(K_DOWN))
-           || (value == KVAL(K_UP))
-           || (value == KVAL(K_LEFT))
-           || (value == KVAL(K_RIGHT));
+       kh = (value == KVAL(K_DOWN)) ||
+           (value == KVAL(K_UP)) ||
+           (value == KVAL(K_LEFT)) ||
+           (value == KVAL(K_RIGHT));
        if ((cursor_track != read_all_mode) || !kh)
                if (!spk_no_intr)
                        spk_do_flush();