aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2025-05-09 11:04:37 +0000
committerKrzysztof Kozlowski <[email protected]>2025-05-12 06:32:14 +0000
commit0169a24036848cf18205301673259bb6879eef97 (patch)
treeb2db1a03f0ab596c5b77f6c97cf8ae9a105faa18 /scripts/gcc-plugins/sancov_plugin.c
parentmemory: stm32_omm: Fix error handling in stm32_omm_configure() (diff)
downloadkernel-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