[PATCH] ALSA: usb-audio: Fix a limit check in proc_dump_substream_formats()

Takashi Iwai tiwai at suse.de
Wed Apr 22 11:29:42 CEST 2020


On Wed, 22 Apr 2020 11:22:55 +0200,
Dan Carpenter wrote:
> 
> This should be ARRAY_SIZE() instead of sizeof().  The sizeof() limit is
> too high so it doesn't work.
> 
> Fixes: 093b8494f299 ("ALSA: usb-audio: Print more information in stream proc files")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list