summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sunxi/clk-sun8i-bus-gates.c
diff options
context:
space:
mode:
authorGen Zhang <blackgod016574@gmail.com>2019-05-28 10:18:51 +0800
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-05-29 10:04:55 +0200
commitfcdf445ff42f036d22178b49cf64e92d527c1330 (patch)
tree7ca2863d61e57b020fd1a57601e2b50756bd1579 /drivers/clk/sunxi/clk-sun8i-bus-gates.c
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9 (diff)
downloadlinux-fcdf445ff42f036d22178b49cf64e92d527c1330.tar.bz2
clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup()
In sunxi_divs_clk_setup(), 'derived_name' is allocated by kstrndup(). It returns NULL when fails. 'derived_name' should be checked. Signed-off-by: Gen Zhang <blackgod016574@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'drivers/clk/sunxi/clk-sun8i-bus-gates.c')
0 files changed, 0 insertions, 0 deletions