diff options
| author | 2021-06-15 09:39:22 +0800 | |
|---|---|---|
| committer | 2021-06-21 13:03:18 +0100 | |
| commit | a2f6ed4a44721d3a9fdf4da7e0743cb13866bf61 (patch) | |
| tree | 4ae1a3c0d42d58d827de42adaccbf1ba4266c6e7 /tools/include/trace/git:/ssh:/git@git.zx2c4.com | |
| parent | ASoC: fsl_ssi: Use devm_platform_get_and_ioremap_resource() (diff) | |
| download | linux-dev-a2f6ed4a44721d3a9fdf4da7e0743cb13866bf61.tar.xz linux-dev-a2f6ed4a44721d3a9fdf4da7e0743cb13866bf61.zip | |
ASoC: fsl_xcvr: check return value after calling platform_get_resource_byname()
It will cause null-ptr-deref if platform_get_resource_byname() returns NULL,
we need check the return value.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210615013922.784296-10-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/include/trace/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
