linux/sound/pci/au88x0
Jason A. Donenfeld ee03c0f200 ALSA: au88x0: use explicitly signed char
With char becoming unsigned by default, and with `char` alone being
ambiguous and based on architecture, signed chars need to be marked
explicitly as such. This fixes warnings like:

sound/pci/au88x0/au88x0_core.c:2029 vortex_adb_checkinout() warn: signedness bug returning '(-22)'
sound/pci/au88x0/au88x0_core.c:2046 vortex_adb_checkinout() warn: signedness bug returning '(-12)'
sound/pci/au88x0/au88x0_core.c:2125 vortex_adb_allocroute() warn: 'vortex_adb_checkinout(vortex, (0), en, 0)' is unsigned
sound/pci/au88x0/au88x0_core.c:2170 vortex_adb_allocroute() warn: 'vortex_adb_checkinout(vortex, stream->resources, en, 4)' is unsigned

As well, since one function returns errnos, return an `int` rather than
a `signed char`.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221024162929.536004-1-Jason@zx2c4.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-10-25 15:14:29 +02:00
..
au88x0_a3d.c ALSA: au88x0: Fix assignment in if condition 2021-06-09 17:30:03 +02:00
au88x0_a3d.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 130 2019-05-30 11:25:14 -07:00
au88x0_a3ddata.c ALSA: pci/au88x0: remove "defined but not used" warnings 2020-07-07 12:13:39 +02:00
au88x0_core.c ALSA: au88x0: use explicitly signed char 2022-10-25 15:14:29 +02:00
au88x0_eq.c ALSA: au88x0: Fix assignment in if condition 2021-06-09 17:30:03 +02:00
au88x0_eq.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au88x0_eqdata.c ALSA: au88x0: More constifications 2020-01-05 16:14:38 +01:00
au88x0_game.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
au88x0_mixer.c ALSA: au88x0: Fix assignment in if condition 2021-06-09 17:30:03 +02:00
au88x0_mpu401.c ALSA: au88x0: Fix assignment in if condition 2021-06-09 17:30:03 +02:00
au88x0_pcm.c ALSA: au88x0: Fix assignment in if condition 2021-06-09 17:30:03 +02:00
au88x0_synth.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 130 2019-05-30 11:25:14 -07:00
au88x0_wt.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au88x0_xtalk.c ALSA: pci/au88x0: remove "defined but not used" warnings 2020-07-07 12:13:39 +02:00
au88x0_xtalk.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 130 2019-05-30 11:25:14 -07:00
au88x0.c ALSA: au88x0: Fix the missing snd_card_free() call at probe error 2022-04-12 17:58:21 +02:00
au88x0.h ALSA: au88x0: use explicitly signed char 2022-10-25 15:14:29 +02:00
au8810.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8810.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8820.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8820.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8830.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8830.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00