]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 13 Nov 2019 23:47:34 +0000 (18:47 -0500)
commit0923500b8b1d5665b776cbc3361a4a9df771c44a
tree45d504681c5a3c7761978f1f5fe8a77fbaf4dc44
parent4b80a23a44ca0c4c7c89768602712c861df6e615
ALSA: bebob: Fix prototype of helper function to return negative value

BugLink: https://bugs.launchpad.net/bugs/1852492
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/firewire/bebob/bebob_stream.c