diff options
author | Wei Yongjun <[email protected]> | 2020-04-22 01:45:43 +0000 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-04-22 14:07:46 +0100 |
commit | f58dcab68aa57e74c12c9bec7ff1bb73e0b35143 (patch) | |
tree | 96d0caafc6e1330d0407a699c0bf347caa4aebf1 /tools/perf/scripts/python | |
parent | 2f5f5302c569f773f58d7f31db2c9e8bbbacc6a7 (diff) |
spi: spi-fsl-qspi: Fix return value check of devm_ioremap() in probe
In case of error, the function devm_ioremap() returns NULL pointer not
ERR_PTR(). The IS_ERR() test in the return value check should be
replaced with NULL test.
Fixes: 858e26a515c2 ("spi: spi-fsl-qspi: Reduce devm_ioremap size to 4 times AHB buffer size")
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Ashish Kumar <[email protected]>
Acked-by: Han Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions