Re: [alsa-devel] [PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Takashi Iwai
On Mon, 25 Jan 2016 22:30:23 +0100, Lucas Tanure wrote: > > 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. >

Re: [PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Takashi Sakamoto
On Jan 26 2016 06:30, Lucas Tanure wrote: > 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

[PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Lucas Tanure
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. Signed-off-by: Lucas Tanure ---

Re: [alsa-devel] [PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Takashi Iwai
On Mon, 25 Jan 2016 22:30:23 +0100, Lucas Tanure wrote: > > 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. >

[PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Lucas Tanure
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. Signed-off-by: Lucas Tanure

Re: [PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Takashi Sakamoto
On Jan 26 2016 06:30, Lucas Tanure wrote: > 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