[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87y0rmv222.wl-tiwai@suse.de>
Date: Thu, 14 Aug 2025 08:40:21 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
"Dr. David Alan Gilbert" <linux@...blig.org>,
Julia Lawall <Julia.Lawall@...ia.fr>,
Wentao Liang <vulab@...as.ac.cn>,
Takashi Iwai <tiwai@...e.de>,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] ALSA: hda: Use min() to simplify snd_hda_get_devices()
On Wed, 13 Aug 2025 22:55:02 +0200,
Thorsten Blum wrote:
>
> 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@...ux.dev>
Applied both patches now. Thanks.
Takashi
Powered by blists - more mailing lists