Re: [PATCH] ARM: EXYNOS: Handle of_find_device_by_node and kstrdup failures
From: Krzysztof Kozlowski
Date: Wed Mar 18 2015 - 13:30:42 EST
2015-02-24 16:42 GMT+01:00 Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>:
> 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@xxxxxxxxxxx>
>
> 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,
Krzysztof
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/