Tag: 07905298e4d5777eb58516cdc242f7ac1ca387a2

ALSA: bebob: Use a signed return type for get_formation_index

Author: Lucas Tanure <tanure@linux.com> 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 …

Continue reading