Skip to content
Commit c3f244d5 authored by Youling Tang's avatar Youling Tang Committed by Tony Lindgren
Browse files

ARM: OMAP2+: Fix kfree NULL pointer in omap2xxx_clkt_vps_init



The returns pointer is NULL when kzalloc fails to apply for space, so fix
kfree NULL pointer.

Signed-off-by: default avatarYouling Tang <tangyouling@loongson.cn>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 3c5902d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment