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

From: Stephen Boyd
Date: Wed Oct 18 2023 - 21:17:01 EST


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@xxxxxxxxxxx>
> ---

Applied to clk-next