Re: [PATCH 1/5] clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
From
Stephen Boyd <>
Date
Wed, 18 Oct 2023 18:15:21 -0700
Quoting Jiasheng Jiang (2023-09-12 02:34:03) > Add the check for the return value of mtk_alloc_clk_data() in order to > avoid NULL pointer dereference. > > Fixes: 1aca9939bf72 ("clk: mediatek: Add MT6765 clock support") > Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> > ---