diff options
author | Jiasheng Jiang <[email protected]> | 2023-09-12 17:34:03 +0800 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-10-18 18:15:10 -0700 |
commit | b82681042724924ae3ba0f2f2eeec217fa31e830 (patch) | |
tree | 1864c590230b1525232f24418ac80fed2c1a1638 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions