On Wed, 06 Aug 2025 10:55:38 +0800, Zhen Ni wrote: > The of_platform_populate() call at the end of the function has a > possible failure path, causing a resource leak. > > Replace of_iomap() with devm_platform_ioremap_resource() to ensure > automatic cleanup of srom->reg_base. > > This issue was detected by smatch static analysis: > drivers/memory/samsung/exynos-srom.c:155 exynos_srom_probe()warn: > 'srom->reg_base' from of_iomap() not released on lines: 155. > > [...] Applied, thanks! [1/1] memory: samsung: exynos-srom: Fix of_iomap leak in exynos_srom_probe https://git.kernel.org/krzk/linux-mem-ctrl/c/6744085079e785dae5f7a2239456135407c58b25 Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>