summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-08-13 23:55:02 +0300
committerTakashi Iwai <tiwai@suse.de>2025-08-14 09:39:54 +0300
commitc308bb4190a8f6f09270b541457d6ae905d2f7bc (patch)
treed394a120cb881c46d8abae73a7204cfca56b9c8c /include/linux/errqueue.h
parent113e9a284d4372322da90c05f1dc36e0a52e5fca (diff)
downloadlinux-c308bb4190a8f6f09270b541457d6ae905d2f7bc.tar.xz
ALSA: hda: Use min() to simplify snd_hda_get_devices()
Use min() to simplify snd_hda_get_devices() and improve its readability. Change the function parameter 'max_devices' from 'int' to 'unsigned int' to avoid a min() signedness error. Update all related local variables and the function's return type to 'unsigned int' accordingly. No functional changes intended. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Link: https://patch.msgid.link/20250813205507.215658-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