diff options
| author | Wang Ming <[email protected]> | 2023-07-27 14:37:50 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-07-30 18:15:27 +0200 |
| commit | dd218433f2b635d97e8fda3eed047151fd528ce4 (patch) | |
| tree | ee44e66a9495b602c1df9ac01b7cf7af152ea38e /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 6549b2b7addf4d1d1557382b565a0dcd031243a8 (diff) | |
firmware: stratix10-svc: Fix an NULL vs IS_ERR() bug in probe
The devm_memremap() function returns error pointers.
It never returns NULL. Fix the check.
Fixes: 7ca5ce896524 ("firmware: add Intel Stratix10 service layer driver")
Cc: [email protected]
Signed-off-by: Wang Ming <[email protected]>
Signed-off-by: Dinh Nguyen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions