diff options
| author | Wei Yongjun <[email protected]> | 2021-02-24 01:38:03 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2021-02-25 10:29:13 +0100 |
| commit | c88fb897c1fb5a590dc6353ac4b01c8f46a347b3 (patch) | |
| tree | be4ff9ce88e52f0739789be18378c342613f3e89 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 10e2ec8edece2566b40f69bae035a555ece71ab4 (diff) | |
ALSA: n64: Fix return value check in n64audio_probe()
In case of error, the function devm_platform_ioremap_resource()
returns ERR_PTR() and never returns NULL. The NULL test in the
return value check should be replaced with IS_ERR().
Fixes: 1448f8acf4cc ("sound: Add n64 driver")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Lauri Kasanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions