diff options
| author | Ameer Hamza <amhamza.mgc@gmail.com> | 2021-12-05 23:42:00 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-12-06 16:49:26 +0300 |
| commit | c686316ec1210d43653c91e104c1e4cd0156dc89 (patch) | |
| tree | 434c791e2296c36139ac65ade1836444633fa6ea /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | e733ab7e3e5dc1bf7d34e050e839fc902ce7ff98 (diff) | |
| download | linux-c686316ec1210d43653c91e104c1e4cd0156dc89.tar.xz | |
ASoC: test-component: fix null pointer dereference.
Dereferncing of_id pointer will result in exception in current
implementation since of_match_device() will assign it to NULL.
Adding NULL check for protection.
Signed-off-by: Ameer Hamza <amhamza.mgc@gmail.com>
Link: https://lore.kernel.org/r/20211205204200.7852-1-amhamza.mgc@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
