aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2024-10-26 19:24:52 +0800
committerAbel Vesa <[email protected]>2024-11-05 12:07:59 +0200
commit81a206d736c19139d3863b79e7174f9e98b45499 (patch)
tree11f0693d2d7fabb06361e9f34976dcf92c1517fe /scripts/gdb/linux/modules.py
parent92888f39193419c117e282cce7fd762ba78784a4 (diff)
clk: imx: imx8-acm: Fix return value check in clk_imx_acm_attach_pm_domains()
If device_link_add() fails, it returns NULL pointer not ERR_PTR(), replace IS_ERR() with NULL pointer check, and return -EINVAL. Fixes: d3a0946d7ac9 ("clk: imx: imx8: add audio clock mux driver") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Peng Fan <[email protected]> Reviewed-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Abel Vesa <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions