]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Dec 2019 15:58:45 +0000 (15:58 +0000)
commitaade906f0673af2c846562999de40e6f6eaef4b4
tree471dde273090d0a058c739a09228f32340eedfaa
parentf0bc6b7adccdb73775cca8af6843b53b7fa98805
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")
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: Ben Hutchings <ben@decadent.org.uk>
sound/firewire/bebob/bebob_stream.c