summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-08-14 00:00:57 +0300
committerTakashi Iwai <tiwai@suse.de>2025-08-14 09:40:01 +0300
commit4a31a043fc16d72b662251b75b183e25e2fa9e47 (patch)
tree762708a5b3aa7f2d040eed0ad4c455eef8db1380 /include
parentc308bb4190a8f6f09270b541457d6ae905d2f7bc (diff)
downloadlinux-4a31a043fc16d72b662251b75b183e25e2fa9e47.tar.xz
ALSA: hda: Improve local variable data type in print_device_list()
Use 'unsigned int' instead of 'int' for the local variable 'devlist_len' because snd_hda_get_devices() returns an 'unsigned int' and the length cannot be negative. Update the print format specifier and the if condition accordingly. Reformat calling snd_hda_codec_read() to fit in a single line while we're at it. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20250813210059.215912-2-thorsten.blum@linux.dev Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions