diff options
author | Charles Han <hanchunchao@inspur.com> | 2025-03-07 09:47:07 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-03-07 22:05:01 +0300 |
commit | 00153c64a72d336cc61f4141e5be53b49b7797e1 (patch) | |
tree | 1d2f66a92515c344889ee93a2d2d772ab85094ef /tools/perf/scripts/python/gecko.py | |
parent | 12a0fd23e87000e69b1777a9765c0c6e6eed0cd9 (diff) | |
download | linux-00153c64a72d336cc61f4141e5be53b49b7797e1.tar.xz |
clk: mmp: Fix NULL vs IS_ERR() check
The devm_kzalloc() function returns NULL on error, not error pointers.
Fix the check.
Fixes: 03437e857b0a ("clk: mmp: Add Marvell PXA1908 APMU driver")
Signed-off-by: Charles Han <hanchunchao@inspur.com>
Link: https://lore.kernel.org/r/20250307064708.209511-1-hanchunchao@inspur.com
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions