diff options
| author | Dan Carpenter <[email protected]> | 2025-05-09 11:04:37 +0000 |
|---|---|---|
| committer | Krzysztof Kozlowski <[email protected]> | 2025-05-12 06:32:14 +0000 |
| commit | 0169a24036848cf18205301673259bb6879eef97 (patch) | |
| tree | b2db1a03f0ab596c5b77f6c97cf8ae9a105faa18 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | memory: stm32_omm: Fix error handling in stm32_omm_configure() (diff) | |
| download | kernel-0169a24036848cf18205301673259bb6879eef97.tar.gz kernel-0169a24036848cf18205301673259bb6879eef97.zip | |
memory: stm32_omm: Fix NULL vs IS_ERR() check in probe()
The platform_get_resource_byname() function returns NULL on error. It
doesn't return error pointers. Update the check to match.
Fixes: 8181d061dcff ("memory: Add STM32 Octo Memory Manager driver")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/a1645f1eedaa9b2ae62ac07feed0552eea75bc46.1746781081.git.dan.carpenter@linaro.org
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions
