Re: [Outreachy kernel] [PATCH] staging: speakup: Alignment match open parenthesis

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, 2 Mar 2017, Arushi Singhal wrote:

> Fix checkpatch issues: "CHECK: Alignment should match open parenthesis"
>
> Signed-off-by: Arushi Singhal <arushisinghal19971997@xxxxxxxxx>
> ---
>  drivers/staging/speakup/i18n.c     |  2 +-
>  drivers/staging/speakup/kobjects.c | 38 +++++++++++++++++++-------------------
>  2 files changed, 20 insertions(+), 20 deletions(-)
>
> diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c
> index 11f1418b4006..ac1ebead3c3f 100644
> --- a/drivers/staging/speakup/i18n.c
> +++ b/drivers/staging/speakup/i18n.c
> @@ -607,7 +607,7 @@ void spk_reset_msg_group(struct msg_group_t *group)
>  void spk_initialize_msgs(void)
>  {
>  	memcpy(speakup_msgs, speakup_default_msgs,
> -		sizeof(speakup_default_msgs));
> +	       sizeof(speakup_default_msgs));
>  }
>
>  /* Free user-supplied strings when module is unloaded: */
> diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
> index fdd6e4b33951..61656c7c2dc9 100644
> --- a/drivers/staging/speakup/kobjects.c
> +++ b/drivers/staging/speakup/kobjects.c
> @@ -79,7 +79,7 @@ static ssize_t chars_chartab_show(struct kobject *kobj,
>   * character descriptions or chartab entries.
>   */
>  static void report_char_chartab_status(int reset, int received, int used,
> -	int rejected, int do_characters)
> +					int rejected, int do_characters)
>  {
>  	static char const *object_type[] = {
>  		"character class entries",
> @@ -92,7 +92,7 @@ static void report_char_chartab_status(int reset, int received, int used,
>  		pr_info("%s reset to defaults\n", object_type[do_characters]);
>  	} else if (received) {
>  		len = snprintf(buf, sizeof(buf),
> -				" updated %d of %d %s\n",
> +			       " updated %d of %d %s\n",
>  				used, received, object_type[do_characters]);

This line should be lined up too.

julia
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux