[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJM1U9RPV4DUPgWp@matsya>
Date: Wed, 21 Jun 2023 23:07:23 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Claudiu Beznea <claudiu.beznea@...rochip.com>
Cc: jckuo@...dia.com, kishon@...nel.org, thierry.reding@...il.com,
jonathanh@...dia.com, nkristam@...dia.com,
linux-phy@...ts.infradead.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] phy: tegra: xusb: check return value of devm_kzalloc()
On 31-05-23, 10:39, Claudiu Beznea wrote:
> devm_kzalloc() returns a pointer to dynamically allocated memory.
> Pointer could be NULL in case allocation fails. Check pointer validity.
> Identified with coccinelle (kmerr.cocci script).
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists