[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdb+kfRZE-tJWpxsmYFCzLhnJvCjVtmwrBCAFHbaXVFHXw@mail.gmail.com>
Date: Mon, 26 Aug 2024 10:48:15 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Shen Lichuan <shenlichuan@...o.com>
Cc: aisheng.dong@....com, festevam@...il.com, shawnguo@...nel.org,
ping.bai@....com, s.hauer@...gutronix.de, kernel@...gutronix.de,
linux-gpio@...r.kernel.org, imx@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
opensource.kerenl@...o.com
Subject: Re: [PATCH v2] pinctrl: freescale: imx-scmi: Use kmemdup_array
instead of kmemdup for multiple allocation
On Fri, Aug 23, 2024 at 12:55 PM Shen Lichuan <shenlichuan@...o.com> wrote:
> Let the kmemdup_array() take care about multiplication
> and possible overflows.
>
> Signed-off-by: Shen Lichuan <shenlichuan@...o.com>
> Reviewed-by: Peng Fan <peng.fan@....com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists