aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <[email protected]>2017-04-14 03:43:01 +0000
committerTakashi Iwai <[email protected]>2017-04-14 06:57:25 +0000
commitdfb00a56935186171abb5280b3407c3f910011f1 (patch)
treec3ff17e8cd56cc2ffe199ad318797ee31aa18570 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentALSA: seq: Don't break snd_use_lock_sync() loop by timeout (diff)
downloadkernel-dfb00a56935186171abb5280b3407c3f910011f1.tar.gz
kernel-dfb00a56935186171abb5280b3407c3f910011f1.zip
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 <[email protected]> Cc: <[email protected]> # 4.4+ Fixes: 585d7cba5e1f ("ALSA: firewire-lib: add helper functions for asynchronous transactions to transfer MIDI messages") Signed-off-by: Takashi Sakamoto <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions