10 Nov
2020
10 Nov
'20
3:48 p.m.
On Mon, Nov 9, 2020 at 12:07 PM Bartosz Golaszewski brgl@bgdev.pl wrote:
From: Bartosz Golaszewski bgolaszewski@baylibre.com
Use the helper that checks for overflows internally instead of manually calculating the size of the new array.
Signed-off-by: Bartosz Golaszewski bgolaszewski@baylibre.com Reviewed-by: Andy Shevchenko andriy.shevchenko@linux.intel.com
Reviewed-by: Linus Walleij linus.walleij@linaro.org
Yours, Linus Walleij