Re: [Outreachy kernel] [RESEND PATCH v2] staging:speakup: Fix alignment with parenthesis.

From: Julia Lawall
Date: Thu Mar 23 2017 - 09:49:59 EST


It should be staging: speakup:, not staging:speakup:

On Thu, 23 Mar 2017, Arushi Singhal wrote:

> Fix checkpatch issues: "CHECK: Alignment should match open parenthesis".

It would really be better to say what the patch does, not just say what
error message you have fixed.

julia

> Signed-off-by: Arushi Singhal <arushisinghal19971997@xxxxxxxxx>
> ---
> changes in v2
> Â- change the commit message.
>
> Âdrivers/staging/speakup/speakup_apollo.c | 2 +-
> Âdrivers/staging/speakup/speakup_decext.c | 4 ++--
> Â2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/speakup/speakup_apollo.c
> b/drivers/staging/speakup/speakup_apollo.c
> index 9cfdbbfb9742..6ad83dc642c4 100644
> --- a/drivers/staging/speakup/speakup_apollo.c
> +++ b/drivers/staging/speakup/speakup_apollo.c
> @@ -173,7 +173,7 @@ static void do_catch_up(struct spk_synth *synth)
> Â Â Â Â Â Â Â Â if (!synth->io_ops->synth_out(synth, ch)) {
> Â Â Â Â Â Â Â Â Â Â Â Â outb(UART_MCR_DTR, speakup_info.port_tts +
> UART_MCR);
> Â Â Â Â Â Â Â Â Â Â Â Â outb(UART_MCR_DTR | UART_MCR_RTS,
> -Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Âspeakup_info.port_tts + UART_MCR);
> +Â Â Â Â Â Â Â Â Â Â Â Â Â Â speakup_info.port_tts + UART_MCR);
> Â Â Â Â Â Â Â Â Â Â Â Â schedule_timeout(msecs_to_jiffies(full_time_val));
> Â Â Â Â Â Â Â Â Â Â Â Â continue;
> Â Â Â Â Â Â Â Â }
> diff --git a/drivers/staging/speakup/speakup_decext.c
> b/drivers/staging/speakup/speakup_decext.c
> index 929a28d618dc..c564bf8e1531 100644
> --- a/drivers/staging/speakup/speakup_decext.c
> +++ b/drivers/staging/speakup/speakup_decext.c
> @@ -206,11 +206,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;
> --
> 2.11.0
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to outreachy-kernel+unsubscribe@xxxxxxxxxxxxxxxxx
> To post to this group, send email to outreachy-kernel@xxxxxxxxxxxxxxxxx
> To view this discussion on the web visithttps://groups.google.com/d/msgid/outreachy-kernel/CA%2BXqjF9fNHFEUopsZH5rf
> iuha-Pv0WA%2B8oACvT_cNxwiSX-rjg%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>
>