memory: emif: check the pointer temp in get_device_details()
The pointer temp is allocated by devm_kzalloc(), so it should be checked for error handling. Fixes: 7ec94453 ("memory: emif: add basic infrastructure for EMIF driver") Signed-off-by:Jia-Ju Bai <baijiaju1990@gmail.com> Link: https://lore.kernel.org/r/20220225132552.27894-1-baijiaju1990@gmail.com Signed-off-by:
Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Loading
Please sign in to comment