Re: [alsa-devel] [PATCH v2] pcm_native: Remove VLA usage
29 Mar
2018
29 Mar
'18
1:42 a.m.
Hi,
On Mar 29 2018 07:24, Kyle Spiers wrote:
As part of the effort to remove VLAs from the kernel[1], this changes the allocation of the rstamps array from being on the stack to being kcalloc()ed. This also allows for the removal of the explicit zeroing loop.
Signed-off-by: Kyle Spiers kyle@spiers.me
sound/core/pcm_native.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-)
This bug was already fixed at a commit 5730f9f744cf (' ALSA: pcm: Remove VLA usage')[1][2].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/sound... [2] http://mailman.alsa-project.org/pipermail/alsa-devel/2018-March/133268.html
Thanks
Takashi Sakamoto
2461
Age (days ago)
2461
Last active (days ago)
0 comments
1 participants
participants (1)
-
Takashi Sakamoto