diff options
| author | Wang Hai <[email protected]> | 2021-06-30 02:03:22 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2021-06-30 18:18:25 +0000 |
| commit | b424f73b6c017f907fd4018bd109d62b237f7875 (patch) | |
| tree | 6d4775b4622530d63f3285517feaab36b9a2f2a6 /drivers/fpga/fpga-bridge.c | |
| parent | clk: stm32mp1: fix missing spin_lock_init() (diff) | |
| download | kernel-b424f73b6c017f907fd4018bd109d62b237f7875.tar.gz kernel-b424f73b6c017f907fd4018bd109d62b237f7875.zip | |
clk: lmk04832: fix return value check in lmk04832_probe()
In case of error, the function devm_kzalloc() and devm_kcalloc() return
NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Fixes: 3bc61cfd6f4a ("clk: add support for the lmk04832")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wang Hai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Liam Beguin <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
