Skip to content
Commit 969c765e authored by Charles Han's avatar Charles Han Committed by Stephen Boyd
Browse files

clk: clk-apple-nco: Add NULL check in applnco_probe



Add NULL check in applnco_probe, to handle kernel NULL pointer
dereference error.

Fixes: 6641057d ("clk: clk-apple-nco: Add driver for Apple NCO")
Signed-off-by: default avatarCharles Han <hanchunchao@inspur.com>
Link: https://lore.kernel.org/r/20241114072820.3071-1-hanchunchao@inspur.com


Reviewed-by: default avatarMartin Povišer <povik+lin@cutebit.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent dedceb2b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment