Re: [PATCH] drivers: video: backlight: Fix NULL Pointer Dereference in backlight_device_register()
From: Daniel Thompson
Date: Tue Apr 01 2025 - 10:31:06 EST
Hi Haoyu
On Wed, Feb 19, 2025 at 08:29:50PM +0800, Haoyu Li wrote:
> As per Jani and Daniel's feedback, I have updated the patch so that
> the `wled->name` null check now occurs in the `wled_configure`
> function, right after the `devm_kasprintf` callsite. This should
> resolve the issue.
I'm afraid this patch got swamped in my mailbox and I missed it.
Worse, we've just been discussing and reviewing a patch for the same
issue from another developer:
https://lore.kernel.org/all/20250401091647.22784-1-bsdhenrymartin@xxxxxxxxx/
So, I just wanted to acknowlege the mistake. Sorry.
Daniel.