summaryrefslogtreecommitdiffstats
path: root/sound/sparc
diff options
context:
space:
mode:
authorLucas Tanure2016-01-25 22:30:23 +0100
committerTakashi Iwai2016-01-26 11:38:53 +0100
commit07905298e4d5777eb58516cdc242f7ac1ca387a2 (patch)
treebd97b0dc55b987fa1b1b4d823ab95253020dfdf5 /sound/sparc
parentALSA: usb-audio: Fix TEAC UD-501/UD-503/NT-503 usb delay (diff)
downloadkernel-qcow2-linux-07905298e4d5777eb58516cdc242f7ac1ca387a2.tar.gz
kernel-qcow2-linux-07905298e4d5777eb58516cdc242f7ac1ca387a2.tar.xz
kernel-qcow2-linux-07905298e4d5777eb58516cdc242f7ac1ca387a2.zip
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>
Diffstat (limited to 'sound/sparc')
0 files changed, 0 insertions, 0 deletions