diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-11-20 20:18:38 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-12-03 12:02:25 -0800 |
commit | e5ca5d7b4d7c29246d957dc45d63610584ae3a54 (patch) | |
tree | 4b33caef2c98ee4281864c46d7972265bdb8df56 /scripts/gdb/linux/interrupts.py | |
parent | 3acea81be689b77b3ceac6ff345ff0366734d967 (diff) |
clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check
The devm_kzalloc() function returns NULL on error, not error pointers.
Fix the check.
Fixes: 51ce55919273 ("clk: mmp: Add Marvell PXA1908 APBC driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/d7078eb7-a7d6-4753-b453-8fce15245c34@stanley.mountain
Acked-by: Duje Mihanović <duje.mihanovic@skole.hr>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions