diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-11-29 17:50:39 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-16 16:42:08 +0100 |
| commit | 9aeacd2ff31e1520bd302e40f7d2500cb98a2401 (patch) | |
| tree | 00eca2b5954e909251100134130e95a8a840e8be /include/uapi/linux | |
| parent | 0ea4cc93d5ec6dcc388291e261b0833bee05b348 (diff) | |
mux: mmio: Fix IS_ERR() vs NULL check in probe()
The devm_kmalloc() function never returns error pointers, it returns
NULL on error. Fix the error checking.
Fixes: 4863cb2b0f50 ("mux: mmio: Add suspend and resume support")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/aSsIP7oKrhKfCUv3@stanley.mountain
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
