diff options
| author | Charles Han <hanchunchao@inspur.com> | 2024-11-14 15:28:20 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-05 14:02:15 +0100 |
| commit | 534e02f83889ccef5fe6beb46e773ab9d4ae1655 (patch) | |
| tree | 223c0003846f4d5273b0a7d0f41f7ff1db3d916a /scripts | |
| parent | 6b0acf6a94c31efa43fce4edc22413a3390f9c05 (diff) | |
| download | linux-534e02f83889ccef5fe6beb46e773ab9d4ae1655.tar.gz linux-534e02f83889ccef5fe6beb46e773ab9d4ae1655.tar.bz2 linux-534e02f83889ccef5fe6beb46e773ab9d4ae1655.zip | |
clk: clk-apple-nco: Add NULL check in applnco_probe
[ Upstream commit 969c765e2b508cca9099d246c010a1e48dcfd089 ]
Add NULL check in applnco_probe, to handle kernel NULL pointer
dereference error.
Fixes: 6641057d5dba ("clk: clk-apple-nco: Add driver for Apple NCO")
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Link: https://lore.kernel.org/r/20241114072820.3071-1-hanchunchao@inspur.com
Reviewed-by: Martin PoviĊĦer <povik+lin@cutebit.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
