original_kernel/sound/firewire
Takashi Sakamoto dfb00a5693 ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type
An abstraction of asynchronous transaction for transmission of MIDI
messages was introduced in Linux v4.4. Each driver can utilize this
abstraction to transfer MIDI messages via fixed-length payload of
transaction to a certain unit address. Filling payload of the transaction
is done by callback. In this callback, each driver can return negative
error code, however current implementation assigns the return value to
unsigned variable.

This commit changes type of the variable to fix the bug.

Reported-by: Julia Lawall <Julia.Lawall@lip6.fr>
Cc: <stable@vger.kernel.org> # 4.4+
Fixes: 585d7cba5e ("ALSA: firewire-lib: add helper functions for asynchronous transactions to transfer MIDI messages")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-04-14 08:57:25 +02:00
..
bebob sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
dice sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
digi00x sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
fireworks sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
oxfw ALSA: oxfw: fix regression to handle Stanton SCS.1m/1d 2017-04-05 21:35:14 +02:00
tascam sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
Kconfig ALSA: oxfw: add support for Mackie Onyx 1640i 2017-01-03 11:34:38 +01:00
Makefile
amdtp-am824.c
amdtp-am824.h
amdtp-stream-trace.h
amdtp-stream.c Revert "ALSA: firewire-lib: change structure member with proper type" 2017-01-05 08:39:47 +01:00
amdtp-stream.h Revert "ALSA: firewire-lib: change structure member with proper type" 2017-01-05 08:39:47 +01:00
cmp.c
cmp.h
fcp.c
fcp.h
isight.c
iso-resources.c
iso-resources.h
lib.c
lib.h ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type 2017-04-14 08:57:25 +02:00
packets-buffer.c
packets-buffer.h