summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm5102.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-10-25 02:03:13 +0200
committerTakashi Iwai <tiwai@suse.de>2022-10-25 15:15:15 +0200
commit50895a55bcfde8ac6f22a37c6bc8cff506b3c7c6 (patch)
tree4c71cf7770a3100199a7375cd7c496dad3e01098 /sound/soc/codecs/wm5102.c
parentee03c0f200eb0d9f22dd8732d9fb7956d91019c2 (diff)
downloadlwn-50895a55bcfde8ac6f22a37c6bc8cff506b3c7c6.tar.gz
lwn-50895a55bcfde8ac6f22a37c6bc8cff506b3c7c6.zip
ALSA: rme9652: 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/rme9652/hdsp.c:3953 hdsp_channel_buffer_location() warn: 'hdsp->channel_map[channel]' is unsigned sound/pci/rme9652/hdsp.c:4153 snd_hdsp_channel_info() warn: impossible condition '(hdsp->channel_map[channel] < 0) => (0-255 < 0)' sound/pci/rme9652/rme9652.c:1833 rme9652_channel_buffer_location() warn: 'rme9652->channel_map[channel]' is unsigned Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20221025000313.546261-1-Jason@zx2c4.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm5102.c')
0 files changed, 0 insertions, 0 deletions