Re: [PATCH] ALSA: core: use ARRAY_SIZE() in snd_minor_info_read()
From: Takashi Iwai
Date: Tue Jul 07 2026 - 11:08:57 EST
On Tue, 07 Jul 2026 09:45:56 +0200,
phucduc.bui@xxxxxxxxx wrote:
>
> From: bui duc phuc <phucduc.bui@xxxxxxxxx>
>
> Use ARRAY_SIZE(snd_minors) instead of SNDRV_OS_MINORS directly, for
> consistency with snd_find_free_minor() and snd_unregister_device() in
> the same file. No functional change.
>
> Signed-off-by: bui duc phuc <phucduc.bui@xxxxxxxxx>
Applied to for-next branch now. Thanks.
Takashi