Skip to content
Commit da7b0f23 authored by Gen Zhang's avatar Gen Zhang Committed by Paul Gortmaker
Browse files

clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup()



commit fcdf445f upstream.

In sunxi_divs_clk_setup(), 'derived_name' is allocated by kstrndup().
It returns NULL when fails. 'derived_name' should be checked.

Signed-off-by: default avatarGen Zhang <blackgod016574@gmail.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent ee72fe75
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