diff options
author | 2025-03-06 12:48:34 +0300 | |
---|---|---|
committer | 2025-03-06 13:27:16 +0000 | |
commit | 7dfc9bdde9fa20cf1ac5cbea97b0446622ca74c7 (patch) | |
tree | 4684a52127df75ec46ede10dc5e3852cc135a357 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Add STM32MP25 SPI NOR support (diff) | |
download | wireguard-linux-7dfc9bdde9fa20cf1ac5cbea97b0446622ca74c7.tar.xz wireguard-linux-7dfc9bdde9fa20cf1ac5cbea97b0446622ca74c7.zip |
spi: stm32-ospi: Fix an IS_ERR() vs NULL bug in stm32_ospi_get_resources()
The devm_ioremap() function returns NULL on error, it doesn't return
error pointers. Fix the check to match.
Fixes: 79b8a705e26c ("spi: stm32: Add OSPI driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://patch.msgid.link/bc4c9123-df43-4616-962f-765801d30b4c@stanley.mountain
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions