[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ddc81a62-08d5-4f23-b86c-10754fb3e717@foss.st.com>
Date: Mon, 15 Jul 2024 10:33:53 +0200
From: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
To: Claudiu Beznea <claudiu.beznea@...rochip.com>,
<yannick.fertre@...s.st.com>, <philippe.cornu@...s.st.com>,
<airlied@...il.com>, <daniel@...ll.ch>, <mcoquelin.stm32@...il.com>,
<alexandre.torgue@...s.st.com>
CC: <dri-devel@...ts.freedesktop.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drm/stm: ltdc: check memory returned by devm_kzalloc()
On 5/31/23 09:28, Claudiu Beznea wrote:
> devm_kzalloc() can fail and return NULL pointer. Check its return status.
> Identified with Coccinelle (kmerr.cocci script).
>
> Fixes: 484e72d3146b ("drm/stm: ltdc: add support of ycbcr pixel formats")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@...rochip.com>
> ---
>
> Hi,
>
> This has been addressed using kmerr.cocci script proposed for update
> at [1].
>
> Thank you,
> Claudiu Beznea
>
> [1] https://lore.kernel.org/all/20230530074044.1603426-1-claudiu.beznea@microchip.com/
>
Hi Claudiu,
After some delay: applied on drm-misc-next.
Thank,
Raphaƫl
Powered by blists - more mailing lists