linux-yocto/sound/pci
Qianfeng Rong a0c5aa7b48 ALSA: lx_core: use int type to store negative error codes
[ Upstream commit 4ef353d546cda466fc39b7daca558d7bcec21c09 ]

Change the 'ret' variable from u16 to int to store negative error codes or
zero returned by lx_message_send_atomic().

Storing the negative error codes in unsigned type, doesn't cause an issue
at runtime but it's ugly as pants. Additionally, assigning negative error
codes to unsigned type may trigger a GCC warning when the -Wsign-conversion
flag is enabled.

No effect on runtime.

Fixes: 02bec49045 ("ALSA: lx6464es - driver for the digigram lx6464es interface")
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Link: https://patch.msgid.link/20250828081312.393148-1-rongqianfeng@vivo.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-10-15 11:56:31 +02:00
..
ac97
ali5451
asihpi ALSA: asihpi: Fix potential OOB array access 2024-10-17 15:21:41 +02:00
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1
hda ALSA: hda/realtek: Fix mute led for HP Laptop 15-dw4xx 2025-09-25 10:58:53 +02:00
ice1712
korg1212
lola
lx6464es ALSA: lx_core: use int type to store negative error codes 2025-10-15 11:56:31 +02:00
mixart
nm256
oxygen ALSA: oxygen: Fix right channel of capture volume mixer 2024-01-25 15:27:41 -08:00
pcxhr
riptide
rme9652 ALSA: hdsp: Break infinite MIDI input flush loop 2024-10-17 15:21:41 +02:00
trident
vx222
ymfpci
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp_modem.c
atiixp.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c ALSA: es1968: Add error handling for snd_pcm_hw_constraint_pow2() 2025-05-22 14:10:04 +02:00
fm801.c
intel8x0.c ALSA: intel8x0: Fix incorrect codec index usage in mixer for ICH4 2025-08-28 16:25:54 +02:00
intel8x0m.c
Kconfig
maestro3.c
Makefile
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx_modem.c
via82xx.c