[PATCH 5/5] clk: mediatek: clk-mt7629: Add check for mtk_alloc_clk_data

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


Quoting Jiasheng Jiang (2023-09-12 02:34:07)
> Add the check for the return value of mtk_alloc_clk_data() in order to
> avoid NULL pointer dereference.
> 
> Fixes: 3b5e748615e7 ("clk: mediatek: add clock support for MT7629 SoC")
> Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>
> ---

Applied to clk-next



More information about the Linux-mediatek mailing list