linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging/vc04_services: Fix alignment of function arguments
@ 2018-08-06  4:07 Greg Gallagher
  2018-08-06  8:34 ` Stefan Wahren
  0 siblings, 1 reply; 3+ messages in thread
From: Greg Gallagher @ 2018-08-06  4:07 UTC (permalink / raw)
  To: eric
  Cc: Stefan Wahren, Greg Kroah-Hartman, Florian Fainelli, Ray Jui,
	Scott Branden, bcm-kernel-feedback-list, linux-rpi-kernel,
	linux-arm-kernel, devel, linux-kernel

Fix warning generated by checkpatch.pl for alignment should match open
parenthesis.  This is a coding style change only.

Signed-off-by: Greg Gallagher <greg@embeddedgreg.com>
---
 drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
index ec468d5719b1..33ae8ae8663b 100644
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
@@ -174,7 +174,7 @@ static struct snd_kcontrol_new snd_bcm2835_ctl[] = {
 };
 
 static int snd_bcm2835_spdif_default_info(struct snd_kcontrol *kcontrol,
-	struct snd_ctl_elem_info *uinfo)
+					  struct snd_ctl_elem_info *uinfo)
 {
 	uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958;
 	uinfo->count = 1;
-- 
2.14.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging/vc04_services: Fix alignment of function arguments
  2018-08-06  4:07 [PATCH] staging/vc04_services: Fix alignment of function arguments Greg Gallagher
@ 2018-08-06  8:34 ` Stefan Wahren
  2018-08-06 12:37   ` Greg Gallagher
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Wahren @ 2018-08-06  8:34 UTC (permalink / raw)
  To: Greg Gallagher
  Cc: eric, Greg Kroah-Hartman, linux-rpi-kernel, linux-arm-kernel,
	devel, linux-kernel

Hi,

Am 06.08.2018 um 06:07 schrieb Greg Gallagher:
> Fix warning generated by checkpatch.pl for alignment should match open
> parenthesis.  This is a coding style change only.
>
> Signed-off-by: Greg Gallagher <greg@embeddedgreg.com>
> ---
>   drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
> index ec468d5719b1..33ae8ae8663b 100644
> --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
> +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
> @@ -174,7 +174,7 @@ static struct snd_kcontrol_new snd_bcm2835_ctl[] = {
>   };
>   
>   static int snd_bcm2835_spdif_default_info(struct snd_kcontrol *kcontrol,
> -	struct snd_ctl_elem_info *uinfo)
> +					  struct snd_ctl_elem_info *uinfo)
>   {
>   	uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958;
>   	uinfo->count = 1;

in case this is the only alignment issue in the whole driver, you can 
have my acked-by.
Otherwise please fix the other ones in the second version.

Btw there are more drivers under vc04_services so a "staging: 
bcm2835-audio: Fix alignment of functions arguments" would be better.

Stefan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging/vc04_services: Fix alignment of function arguments
  2018-08-06  8:34 ` Stefan Wahren
@ 2018-08-06 12:37   ` Greg Gallagher
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Gallagher @ 2018-08-06 12:37 UTC (permalink / raw)
  To: Stefan Wahren
  Cc: Eric Anholt, Greg Kroah-Hartman, linux-rpi-kernel,
	linux-arm-kernel, devel, linux-kernel

Hi,

On Mon, Aug 6, 2018 at 4:34 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote:
> Hi,
>
> Am 06.08.2018 um 06:07 schrieb Greg Gallagher:
>>
>> Fix warning generated by checkpatch.pl for alignment should match open
>> parenthesis.  This is a coding style change only.
>>
>> Signed-off-by: Greg Gallagher <greg@embeddedgreg.com>
>> ---
>>   drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
>> b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
>> index ec468d5719b1..33ae8ae8663b 100644
>> --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
>> +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835-ctl.c
>> @@ -174,7 +174,7 @@ static struct snd_kcontrol_new snd_bcm2835_ctl[] = {
>>   };
>>     static int snd_bcm2835_spdif_default_info(struct snd_kcontrol
>> *kcontrol,
>> -       struct snd_ctl_elem_info *uinfo)
>> +                                         struct snd_ctl_elem_info *uinfo)
>>   {
>>         uinfo->type = SNDRV_CTL_ELEM_TYPE_IEC958;
>>         uinfo->count = 1;
>
>
> in case this is the only alignment issue in the whole driver, you can have
> my acked-by.
> Otherwise please fix the other ones in the second version.
>
> Btw there are more drivers under vc04_services so a "staging: bcm2835-audio:
> Fix alignment of functions arguments" would be better.
>
> Stefan


I'll fix the other alignment issues as well in the second version and
fix up the subject line to staging: bcm2835-audio.

thanks

Greg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-06 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06  4:07 [PATCH] staging/vc04_services: Fix alignment of function arguments Greg Gallagher
2018-08-06  8:34 ` Stefan Wahren
2018-08-06 12:37   ` Greg Gallagher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).