[PATCH v1 01/19] lib/string_helpers: Introduce kasprintf_strarray()

Linus Walleij linus.walleij at linaro.org
Tue Nov 9 03:42:00 PST 2021


On Fri, Nov 5, 2021 at 1:43 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:

> We have a few users already that basically want to have array of
> sequential strings to be allocated and filled.
>
> Provide a helper for them (basically adjusted version from gpio-mockup.c).
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Fulfils Rusty Russell's API design hierarchy requirements
and help people to make less mistakes so:
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list