ALSA: bebob: Fix prototype of helper function to return negative value
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 26 Oct 2019 03:06:20 +0000 (12:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2019 12:06:14 +0000 (13:06 +0100)
commit3ae205d7a0a27285d14d76e8d7920c0a20de16ea
tree760665921bd35e42a934362589374e8e92e4ea70
parent62e42369de376c3eabc2acc92d5cbf8c18870263
ALSA: bebob: Fix prototype of helper function to return negative value

commit f2bbdbcb075f3977a53da3bdcb7cd460bc8ae5f2 upstream.

A helper function of ALSA bebob driver returns negative value in a
function which has a prototype to return unsigned value.

This commit fixes it by changing the prototype.

Fixes: eb7b3a056cd8 ("ALSA: bebob: Add commands and connections/streams management")
Cc: <stable@vger.kernel.org> # v3.16+
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191026030620.12077-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/firewire/bebob/bebob_stream.c