aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2021-10-27 14:52:28 +0800
committerMark Brown <[email protected]>2021-10-27 11:31:24 +0100
commitfdde18b9773636cc5866ccd8f2093e1cf0022dea (patch)
tree92f8a3d35834f5c007161d4592fa5874ee871dd7 /scripts/gdb/linux/tasks.py
parentf88ee76b8645c6da37eec79cfd45f2cc646bd01a (diff)
ASoC: amd: acp: Fix return value check in acp_machine_select()
In case of error, platform_device_register_data() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Reported-by: Hulk Robot <[email protected]> Fixes: e646b51f5dd5 ("ASoC: amd: acp: Add callback for machine driver on ACP") Signed-off-by: Yang Yingliang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions