[PATCH] clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data

Stephen Boyd sboyd at kernel.org
Wed Oct 18 18:16:55 PDT 2023


Quoting Jiasheng Jiang (2023-08-31 19:46:58)
> Add the check for the return value of mtk_alloc_clk_data() in order to
> avoid NULL pointer dereference.
> 
> Fixes: e9862118272a ("clk: mediatek: Add MT2701 clock support")
> Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list