[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d5f2aa49-27e2-4cc1-91be-4e195ed5249e@web.de>
Date: Tue, 1 Apr 2025 08:18:17 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Henry Martin <bsdhenrymartin@...il.com>, linux-fbdev@...r.kernel.org,
linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org
Cc: LKML <linux-kernel@...r.kernel.org>, Daniel Thompson
<danielt@...nel.org>, Helge Deller <deller@....de>,
Jingoo Han <jingoohan1@...il.com>, Lee Jones <lee@...nel.org>
Subject: Re: [PATCH v3] backlight: pm8941: Add NULL check in wled_configure()
> devm_kasprintf() return NULL if memory allocation fails. Currently,
…
call? failed?
> Add NULL check after devm_kasprintf() to prevent this issue.
Do you propose to improve this function implementation a bit more?
Regards,
Markus
Powered by blists - more mailing lists