Thread (11 messages) flat view 11 messages, 2 authors, 2020-11-10

Re: [PATCH v3 5/9] pinctrl: use krealloc_array()

From: Linus Walleij <hidden>
Date: 2020-11-10 14:48:45
Also in: alsa-devel, dri-devel, kvm, linux-edac, linux-gpio, linux-media, linux-mm, lkml, virtualization

On Mon, Nov 9, 2020 at 12:07 PM Bartosz Golaszewski [off-list ref] 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help