commit | 5730f9f744cfe20b771adc33f3b476b95d3eebba | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Mar 13 11:18:57 2018 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Mar 13 15:37:56 2018 +0100 |
tree | 4993d43ca26c4cd6fbd1199b215d94c9ab09a6cb | |
parent | 491f833134ac474434e1c950925c58b2ac13ca72 [diff] |
ALSA: pcm: Remove VLA usage A helper function used by snd_pcm_hw_refine() still keeps using VLA for timestamps of hw constraint rules that are non-fixed size. Let's replace the VLA with a simple kmalloc() array. Reference: https://lkml.org/lkml/2018/3/7/621 Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>