diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-04-22 12:22:55 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-04-22 12:29:15 +0300 |
commit | 8137d2763bf77d68babb38a7323c5152c945f20e (patch) | |
tree | 7f5ee20f8f4adcf394143fdd77dd00a3bbe46f2b /sound/hda | |
parent | 093b8494f2992e58c2bef6fc26c7e11464ad415a (diff) | |
download | linux-8137d2763bf77d68babb38a7323c5152c945f20e.tar.xz |
ALSA: usb-audio: Fix a limit check in proc_dump_substream_formats()
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@oracle.com>
Link: https://lore.kernel.org/r/20200422092255.GB195357@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions