diff options
author | 2025-05-09 14:04:37 +0300 | |
---|---|---|
committer | 2025-05-12 08:32:14 +0200 | |
commit | 0169a24036848cf18205301673259bb6879eef97 (patch) | |
tree | b2db1a03f0ab596c5b77f6c97cf8ae9a105faa18 /scripts/lib/kdoc/kdoc_files.py | |
parent | memory: stm32_omm: Fix error handling in stm32_omm_configure() (diff) | |
download | linux-rng-0169a24036848cf18205301673259bb6879eef97.tar.xz linux-rng-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 <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/a1645f1eedaa9b2ae62ac07feed0552eea75bc46.1746781081.git.dan.carpenter@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions