public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] sound/sb_midi: a couple indenting fixes
@ 2015-02-25 13:32 Dan Carpenter
  2015-02-25 19:09 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2015-02-25 13:32 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Takashi Iwai, alsa-devel, kernel-janitors

Let's make things line up a little bit better.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/sound/oss/sb_midi.c b/sound/oss/sb_midi.c
index f139028..551ee75 100644
--- a/sound/oss/sb_midi.c
+++ b/sound/oss/sb_midi.c
@@ -179,14 +179,14 @@ void sb_dsp_midi_init(sb_devc * devc, struct module *owner)
 	{
 		printk(KERN_WARNING "Sound Blaster:  failed to allocate MIDI memory.\n");
 		sound_unload_mididev(dev);
-		  return;
+		return;
 	}
 	memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations,
 	       sizeof(struct midi_operations));
 
 	if (owner)
-			midi_devs[dev]->owner = owner;
-	
+		midi_devs[dev]->owner = owner;
+
 	midi_devs[dev]->devc = devc;
 
 

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

* Re: [patch] sound/sb_midi: a couple indenting fixes
  2015-02-25 13:32 [patch] sound/sb_midi: a couple indenting fixes Dan Carpenter
@ 2015-02-25 19:09 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2015-02-25 19:09 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: Jaroslav Kysela, alsa-devel, kernel-janitors

At Wed, 25 Feb 2015 16:32:16 +0300,
Dan Carpenter wrote:
> 
> Let's make things line up a little bit better.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Applied, thanks.


Takashi

> 
> diff --git a/sound/oss/sb_midi.c b/sound/oss/sb_midi.c
> index f139028..551ee75 100644
> --- a/sound/oss/sb_midi.c
> +++ b/sound/oss/sb_midi.c
> @@ -179,14 +179,14 @@ void sb_dsp_midi_init(sb_devc * devc, struct module *owner)
>  	{
>  		printk(KERN_WARNING "Sound Blaster:  failed to allocate MIDI memory.\n");
>  		sound_unload_mididev(dev);
> -		  return;
> +		return;
>  	}
>  	memcpy((char *) midi_devs[dev], (char *) &sb_midi_operations,
>  	       sizeof(struct midi_operations));
>  
>  	if (owner)
> -			midi_devs[dev]->owner = owner;
> -	
> +		midi_devs[dev]->owner = owner;
> +
>  	midi_devs[dev]->devc = devc;
>  
>  
> 

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

end of thread, other threads:[~2015-02-25 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-25 13:32 [patch] sound/sb_midi: a couple indenting fixes Dan Carpenter
2015-02-25 19:09 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox