]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
staging: speakup: match alignment with open parenthesis
authorSantha Meena Ramamoorthy <santhameena13@gmail.com>
Mon, 5 Mar 2018 17:34:13 +0000 (09:34 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:01:10 +0000 (04:01 -0800)
Match alignment with the open parenthesis to conform to the Linux kernel
coding style. Issue found using checkpatch.

Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c
drivers/staging/speakup/speakup_decpc.c
drivers/staging/speakup/speakup_dectlk.c
drivers/staging/speakup/speakup_keypc.c
drivers/staging/speakup/spk_ttyio.c

index d7cdec3271bebda31726072091e03dc7e56f86ea..af30b7099bedfaba607c188aae3064bce8d98d3a 100644 (file)
@@ -417,7 +417,7 @@ static void announce_edge(struct vc_data *vc, int msg_id)
                bleep(spk_y);
        if ((spk_bleeps & 2) && (msg_id < edge_quiet))
                synth_printf("%s\n",
-                       spk_msg_get(MSG_EDGE_MSGS_START + msg_id - 1));
+                            spk_msg_get(MSG_EDGE_MSGS_START + msg_id - 1));
 }
 
 static void speak_char(u16 ch)
index 303f393d3f2fdcbd0f316fe6204f6d145ba058f4..6649309e03421bb289b47cbbf39134b32d314583 100644 (file)
@@ -349,7 +349,7 @@ static int testkernel(void)
                return 0;
        else if (dt_stat == 0x0dec)
                pr_warn("dec_pc at 0x%x, software not loaded\n",
-                               speakup_info.port_tts);
+                       speakup_info.port_tts);
        status = -3;
 oops:  synth_release_region(speakup_info.port_tts, SYNTH_IO_EXTENT);
        speakup_info.port_tts = 0;
@@ -412,11 +412,11 @@ static void do_catch_up(struct spk_synth *synth)
                                if (!in_escape)
                                        dt_sendchar(PROCSPEECH);
                                spin_lock_irqsave(&speakup_info.spinlock,
-                                                       flags);
+                                                 flags);
                                jiffy_delta_val = jiffy_delta->u.n.value;
                                delay_time_val = delay_time->u.n.value;
                                spin_unlock_irqrestore(&speakup_info.spinlock,
-                                                       flags);
+                                                      flags);
                                schedule_timeout(msecs_to_jiffies
                                                 (delay_time_val));
                                jiff_max = jiffies + jiffy_delta_val;
index 2ea22a2eb5f9a3179bc206539071ec75ed180376..a144f28ee1a8a477369f43d99080701f0b74562a 100644 (file)
@@ -262,11 +262,11 @@ static void do_catch_up(struct spk_synth *synth)
                                if (!in_escape)
                                        synth->io_ops->synth_out(synth, PROCSPEECH);
                                spin_lock_irqsave(&speakup_info.spinlock,
-                                               flags);
+                                                 flags);
                                jiffy_delta_val = jiffy_delta->u.n.value;
                                delay_time_val = delay_time->u.n.value;
                                spin_unlock_irqrestore(&speakup_info.spinlock,
-                                               flags);
+                                                      flags);
                                schedule_timeout(msecs_to_jiffies
                                                 (delay_time_val));
                                jiff_max = jiffies + jiffy_delta_val;
index de76183932e17632313a33c0880fcd2e1b7a68d4..3901734982a4bba3c8a7a16824205983da2ffdd3 100644 (file)
@@ -260,7 +260,7 @@ static int synth_probe(struct spk_synth *synth)
        if (port_forced) {
                synth_port = port_forced;
                pr_info("probe forced to %x by kernel command line\n",
-                               synth_port);
+                       synth_port);
                if (synth_request_region(synth_port-1, SYNTH_IO_EXTENT)) {
                        pr_warn("sorry, port already reserved\n");
                        return -EBUSY;
@@ -269,7 +269,7 @@ static int synth_probe(struct spk_synth *synth)
        } else {
                for (i = 0; synth_portlist[i]; i++) {
                        if (synth_request_region(synth_portlist[i],
-                                               SYNTH_IO_EXTENT)) {
+                                                SYNTH_IO_EXTENT)) {
                                pr_warn
                                    ("request_region: failed with 0x%x, %d\n",
                                     synth_portlist[i], SYNTH_IO_EXTENT);
index 5aa3ffa3772de971744f55ef931797557ca8cbc1..311940205bee4bec77238914396296d7c7a7102b 100644 (file)
@@ -71,7 +71,7 @@ static void spk_ttyio_ldisc_close(struct tty_struct *tty)
 }
 
 static int spk_ttyio_receive_buf2(struct tty_struct *tty,
-               const unsigned char *cp, char *fp, int count)
+                                 const unsigned char *cp, char *fp, int count)
 {
        struct spk_ldisc_data *ldisc_data = tty->disc_data;