summaryrefslogtreecommitdiff
path: root/drivers/spmi/Makefile
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-11-22 16:36:14 +0300
committerStephen Boyd <sboyd@kernel.org>2022-12-08 05:27:11 +0300
commitcfd3ffb36f0d566846163118651d868e607300ba (patch)
tree7d9fdc1cacc38be068e57e085638a2c16d091997 /drivers/spmi/Makefile
parent5174e5b0d1b669a489524192b6adcbb3c54ebc72 (diff)
downloadlinux-cfd3ffb36f0d566846163118651d868e607300ba.tar.xz
clk: st: Fix memory leak in st_of_quadfs_setup()
If st_clk_register_quadfs_pll() fails, @lock should be freed before goto @err_exit, otherwise will cause meory leak issue, fix it. Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com> Link: https://lore.kernel.org/r/20221122133614.184910-1-xiujianfeng@huawei.com Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/spmi/Makefile')
0 files changed, 0 insertions, 0 deletions