summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-08-13 13:34:16 +0300
committerTakashi Iwai <tiwai@suse.de>2025-08-13 18:44:45 +0300
commit113e9a284d4372322da90c05f1dc36e0a52e5fca (patch)
tree7780c453084070176859686cc1b631e27a7d9776 /include/linux/errqueue.h
parentaff8436ed97b99cd27f192d9a71ac2b1aa7b9d03 (diff)
downloadlinux-113e9a284d4372322da90c05f1dc36e0a52e5fca.tar.xz
ALSA: hda: Improve local variable data type in snd_hda_get_num_devices()
Use 'int' instead of 'unsigned int' because the local variable 'parm' can be negative. While an unsigned integer is harmless in practice due to the implicit type conversion, it's safer and more idiomatic to use a signed integer to properly check for -1. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20250813103418.164110-2-thorsten.blum@linux.dev Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions