]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Sat, 26 Oct 2019 07:06:20 +0000 (09:06 +0200)
commitd03cc60f644cd40cd30c4fcd2e8b3a67b1f61cba
tree3f8c1593426e96fc7e84331259205541344efc90
parentdb74e63a9339b170731fbc2e39adb619e567023f
ALSA: bebob: Fix prototype of helper function to return negative value

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: 80f06048beb0 ("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>
sound/firewire/bebob/bebob_stream.c