[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZQtkgivCNyoTSjYt@shikoro>
Date: Wed, 20 Sep 2023 23:30:42 +0200
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: xkernel.wang@...mail.com
Cc: peda@...ntia.se, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: mux: demux-pinctrl: check the return value of
devm_kstrdup()
On Thu, Mar 03, 2022 at 08:39:14PM +0800, xkernel.wang@...mail.com wrote:
> From: Xiaoke Wang <xkernel.wang@...mail.com>
>
> devm_kstrdup() returns pointer to allocated string on success,
> NULL on failure. So it is better to check the return value of it.
>
> Signed-off-by: Xiaoke Wang <xkernel.wang@...mail.com>
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists