All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Colin King <colin.king@canonical.com>
Cc: William Hubbs <w.d.hubbs@gmail.com>,
	Chris Brannon <chris@the-brannons.com>,
	Kirk Reiser <kirk@reisers.ca>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	speakup@linux-speakup.org, devel@driverdev.osuosl.org,
	kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: speakup: clean up few indentation issues
Date: Tue, 30 Oct 2018 11:51:13 +0000	[thread overview]
Message-ID: <20181030115113.pbef3nmx5t4beygk@function> (raw)
In-Reply-To: <20181030110959.1471-1-colin.king@canonical.com>

Colin King, le mar. 30 oct. 2018 11:09:59 +0000, a ecrit:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to clean up indentation issues across the driver
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

> ---
>  drivers/staging/speakup/kobjects.c      | 2 +-
>  drivers/staging/speakup/speakup_decpc.c | 6 +++---
>  drivers/staging/speakup/speakup_keypc.c | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
> index 08f11cc17371..2e36d872662c 100644
> --- a/drivers/staging/speakup/kobjects.c
> +++ b/drivers/staging/speakup/kobjects.c
> @@ -545,7 +545,7 @@ ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
>  	int rv = 0;
>  	struct st_var_header *param;
>  	struct var_t *var;
> -		char *cp1;
> +	char *cp1;
>  	char *cp;
>  	char ch;
>  	unsigned long flags;
> diff --git a/drivers/staging/speakup/speakup_decpc.c b/drivers/staging/speakup/speakup_decpc.c
> index 6649309e0342..459ee0c0bd57 100644
> --- a/drivers/staging/speakup/speakup_decpc.c
> +++ b/drivers/staging/speakup/speakup_decpc.c
> @@ -302,12 +302,12 @@ static void synth_flush(struct spk_synth *synth)
>  	while (dt_ctrl(CTRL_flush)) {
>  		if (--timeout = 0)
>  			break;
> -udelay(50);
> +		udelay(50);
>  	}
>  	for (timeout = 0; timeout < 10; timeout++) {
>  		if (dt_waitbit(STAT_dma_ready))
>  			break;
> -udelay(50);
> +		udelay(50);
>  	}
>  	outb_p(DMA_sync, speakup_info.port_tts + 4);
>  	outb_p(0, speakup_info.port_tts + 4);
> @@ -315,7 +315,7 @@ udelay(50);
>  	for (timeout = 0; timeout < 10; timeout++) {
>  		if (!(dt_getstatus() & STAT_flushing))
>  			break;
> -udelay(50);
> +		udelay(50);
>  	}
>  	dma_state = dt_getstatus() & STAT_dma_state;
>  	dma_state ^= STAT_dma_state;
> diff --git a/drivers/staging/speakup/speakup_keypc.c b/drivers/staging/speakup/speakup_keypc.c
> index 3901734982a4..b788272da4f9 100644
> --- a/drivers/staging/speakup/speakup_keypc.c
> +++ b/drivers/staging/speakup/speakup_keypc.c
> @@ -177,7 +177,7 @@ static void do_catch_up(struct spk_synth *synth)
>  	jiffy_delta = spk_get_var(JIFFY);
>  	delay_time = spk_get_var(DELAY);
>  	full_time = spk_get_var(FULL);
> -spin_lock_irqsave(&speakup_info.spinlock, flags);
> +	spin_lock_irqsave(&speakup_info.spinlock, flags);
>  	jiffy_delta_val = jiffy_delta->u.n.value;
>  	spin_unlock_irqrestore(&speakup_info.spinlock, flags);
>  
> -- 
> 2.19.1
> 

-- 
Samuel
<P> je sens venir la fonte 14 pour le rapport
 -+- #ens-mim -+-

WARNING: multiple messages have this Message-ID (diff)
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
To: Colin King <colin.king@canonical.com>
Cc: William Hubbs <w.d.hubbs@gmail.com>,
	Chris Brannon <chris@the-brannons.com>,
	Kirk Reiser <kirk@reisers.ca>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	speakup@linux-speakup.org, devel@driverdev.osuosl.org,
	kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: speakup: clean up few indentation issues
Date: Tue, 30 Oct 2018 12:51:13 +0100	[thread overview]
Message-ID: <20181030115113.pbef3nmx5t4beygk@function> (raw)
In-Reply-To: <20181030110959.1471-1-colin.king@canonical.com>

Colin King, le mar. 30 oct. 2018 11:09:59 +0000, a ecrit:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Trivial fix to clean up indentation issues across the driver
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>

> ---
>  drivers/staging/speakup/kobjects.c      | 2 +-
>  drivers/staging/speakup/speakup_decpc.c | 6 +++---
>  drivers/staging/speakup/speakup_keypc.c | 2 +-
>  3 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
> index 08f11cc17371..2e36d872662c 100644
> --- a/drivers/staging/speakup/kobjects.c
> +++ b/drivers/staging/speakup/kobjects.c
> @@ -545,7 +545,7 @@ ssize_t spk_var_show(struct kobject *kobj, struct kobj_attribute *attr,
>  	int rv = 0;
>  	struct st_var_header *param;
>  	struct var_t *var;
> -		char *cp1;
> +	char *cp1;
>  	char *cp;
>  	char ch;
>  	unsigned long flags;
> diff --git a/drivers/staging/speakup/speakup_decpc.c b/drivers/staging/speakup/speakup_decpc.c
> index 6649309e0342..459ee0c0bd57 100644
> --- a/drivers/staging/speakup/speakup_decpc.c
> +++ b/drivers/staging/speakup/speakup_decpc.c
> @@ -302,12 +302,12 @@ static void synth_flush(struct spk_synth *synth)
>  	while (dt_ctrl(CTRL_flush)) {
>  		if (--timeout == 0)
>  			break;
> -udelay(50);
> +		udelay(50);
>  	}
>  	for (timeout = 0; timeout < 10; timeout++) {
>  		if (dt_waitbit(STAT_dma_ready))
>  			break;
> -udelay(50);
> +		udelay(50);
>  	}
>  	outb_p(DMA_sync, speakup_info.port_tts + 4);
>  	outb_p(0, speakup_info.port_tts + 4);
> @@ -315,7 +315,7 @@ udelay(50);
>  	for (timeout = 0; timeout < 10; timeout++) {
>  		if (!(dt_getstatus() & STAT_flushing))
>  			break;
> -udelay(50);
> +		udelay(50);
>  	}
>  	dma_state = dt_getstatus() & STAT_dma_state;
>  	dma_state ^= STAT_dma_state;
> diff --git a/drivers/staging/speakup/speakup_keypc.c b/drivers/staging/speakup/speakup_keypc.c
> index 3901734982a4..b788272da4f9 100644
> --- a/drivers/staging/speakup/speakup_keypc.c
> +++ b/drivers/staging/speakup/speakup_keypc.c
> @@ -177,7 +177,7 @@ static void do_catch_up(struct spk_synth *synth)
>  	jiffy_delta = spk_get_var(JIFFY);
>  	delay_time = spk_get_var(DELAY);
>  	full_time = spk_get_var(FULL);
> -spin_lock_irqsave(&speakup_info.spinlock, flags);
> +	spin_lock_irqsave(&speakup_info.spinlock, flags);
>  	jiffy_delta_val = jiffy_delta->u.n.value;
>  	spin_unlock_irqrestore(&speakup_info.spinlock, flags);
>  
> -- 
> 2.19.1
> 

-- 
Samuel
<P> je sens venir la fonte 14 pour le rapport
 -+- #ens-mim -+-

  reply	other threads:[~2018-10-30 11:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-30 11:09 [PATCH] staging: speakup: clean up few indentation issues Colin King
2018-10-30 11:09 ` Colin King
2018-10-30 11:51 ` Samuel Thibault [this message]
2018-10-30 11:51   ` Samuel Thibault

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181030115113.pbef3nmx5t4beygk@function \
    --to=samuel.thibault@ens-lyon.org \
    --cc=chris@the-brannons.com \
    --cc=colin.king@canonical.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=kirk@reisers.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=speakup@linux-speakup.org \
    --cc=w.d.hubbs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.