[PATCH] ARM: EXYNOS: Handle of_find_device_by_node and kstrdup failures

Krzysztof Kozlowski k.kozlowski at samsung.com
Wed Mar 18 10:30:34 PDT 2015

2015-02-24 16:42 GMT+01:00 Krzysztof Kozlowski <k.kozlowski at samsung.com>:
> On wto, 2015-02-03 at 18:28 +0100, Krzysztof Kozlowski wrote:
>> Prevent possible NULL pointer dereference of pointer returned by
>> of_find_device_by_node(). Handle this by skipping such power domain.
>> Additionally fail the init on kstrdup() failure. Such case is actually
>> not fatal because the name for power domain allocated by kstrdup() is
>> used only in printk. Still as a precaution handle this as an error
>> condition.
>> Signed-off-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
> Hi Kukjin,
> What is the status of this patch and the "ARM: EXYNOS: Handle of
> of_iomap() failure". The latter should be in your tree but I cannot find
> it.
> Best regards,
> Krzysztof

Hi Kukjin,

You haven't applied this and the "ARM: EXYNOS: Handle of of_iomap()
failure" yet. Any comments?

Best regards,

More information about the linux-arm-kernel mailing list