[PATCH v2] backlight: pm8941: Add NULL check in exynos_generic_icc_probe()

henry martin bsdhenrymartin at gmail.com
Wed Apr 23 20:03:09 PDT 2025


Hi Krzysztof,

Just a friendly reminder about the patch below which received your Reviewed-by
tag but hasn't been applied yet. Could you let me know if there are any further
actions needed?

Krzysztof Kozlowski <krzk at kernel.org> 于2025年4月1日周二 19:00写道:
>
> On 01/04/2025 12:45, Henry Martin wrote:
> > devm_kasprintf() returns NULL when memory allocation fails. Currently,
> > exynos_generic_icc_probe() does not check for this case, which results
> > in a NULL pointer dereference.
> >
> > Add NULL check after devm_kasprintf() to prevent this issue.
> >
> > Fixes: 2f95b9d5cf0b ("interconnect: Add generic interconnect driver for Exynos SoCs")
> > Signed-off-by: Henry Martin <bsdhenrymartin at gmail.com>
> > ---
>
> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>
> Best regards,
> Krzysztof



More information about the linux-arm-kernel mailing list