Re: [PATCH 2/8] ALSA: pcm: use krealloc_array()

From
Takashi Iwai <hidden>
Date
2020-10-27 12:39:31
Also in
alsa-devel, dri-devel, kvm, linux-edac, linux-gpio, linux-media, linux-mm, lkml
Reply to
Bartosz Golaszewski, 2020-10-27
On Tue, 27 Oct 2020 13:17:19 +0100,
Bartosz Golaszewski wrote:
From: Bartosz Golaszewski <redacted>

Use the helper that checks for overflows internally instead of manually
calculating the size of the new array.

Signed-off-by: Bartosz Golaszewski <redacted>
Reviewed-by: Takashi Iwai <redacted>


thanks,

Takashi
Thread (21 messages) 21 messages, 11 authors, last reply 2020-11-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help