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@xxxxxxxxx> > --- Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Best regards, Krzysztof