kernel_optimize_test/sound/firewire/bebob
Lucas Tanure 07905298e4 ALSA: bebob: Use a signed return type for get_formation_index
The return type "unsigned int" was used by the get_formation_index function
despite of the aspect that it will eventually return a negative	error code.
So, change to signed int and get index by reference in the parameters.

Done with the help of Coccinelle.

[Fix the missing braces suggested by Julia Lawall -- tiwai]

Signed-off-by: Lucas Tanure <tanure@linux.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Tested-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-01-26 11:38:53 +01:00
..
bebob_command.c ALSA: bebob: Prepare for device specific operations 2014-05-26 14:31:15 +02:00
bebob_focusrite.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_hwdep.c ALSA: bebob: Add hwdep interface 2014-05-26 14:31:03 +02:00
bebob_maudio.c ALSA: bebob: use correct type for __be32 data 2015-10-19 11:57:03 +02:00
bebob_midi.c ALSA: firewire-lib: move MIDI trigger helper function to AM824 layer 2015-09-29 12:48:49 +02:00
bebob_pcm.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_proc.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_stream.c ALSA: bebob: Use a signed return type for get_formation_index 2016-01-26 11:38:53 +01:00
bebob_terratec.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob_yamaha.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob.c ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
bebob.h ALSA: bebob: constify various snd_bebob structures 2015-10-11 18:12:37 +02:00
Makefile ALSA: fireworks/bebob/oxfw/dice: enable to make as built-in 2015-10-18 09:08:11 +02:00