[alsa-devel] [patch] sound/sb_midi: a couple indenting fixes

Takashi Iwai tiwai at suse.de
Wed Feb 25 20:09:53 CET 2015


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 at 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;
>  
>  
> 


More information about the Alsa-devel mailing list