diff options
author | YueHaibing <[email protected]> | 2022-05-16 20:09:09 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-05-19 16:44:30 +0100 |
commit | 81e7b165c45e94188ae8f1134b57f27d1f35452f (patch) | |
tree | 8502931c1445210035f3abbab8c653c7501c6b9d /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | b1378b259c0c0300cf62dd7117bf550edce0f9cc (diff) |
ASoC: codecs: lpass: Fix passing zero to 'PTR_ERR'
sound/soc/codecs/lpass-macro-common.c:28 lpass_macro_pds_init() warn: passing zero to 'PTR_ERR'
sound/soc/codecs/lpass-macro-common.c:38 lpass_macro_pds_init() warn: passing zero to 'PTR_ERR'
sound/soc/codecs/lpass-macro-common.c:54 lpass_macro_pds_init() warn: passing zero to 'ERR_PTR'
dev_pm_domain_attach_by_name() may return NULL, set 'ret' as
-ENODATA to fix this warning.
Fixes: 1a8ee4cf8418 ("ASoC: codecs: Fix error handling in power domain init and exit handlers")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions