Re: [PATCH 3/5] clk: mediatek: clk-mt6797: Add check for mtk_alloc_clk_data

From: Stephen Boyd
Date: Wed Oct 18 2023 - 21:15:55 EST


Quoting Jiasheng Jiang (2023-09-12 02:34:05)
> Add the check for the return value of mtk_alloc_clk_data() in order to
> avoid NULL pointer dereference.
>
> Fixes: 96596aa06628 ("clk: mediatek: add clk support for MT6797")
> Signed-off-by: Jiasheng Jiang <jiasheng@xxxxxxxxxxx>
> ---

Applied to clk-next