diff options
author | Ameer Hamza <amhamza.mgc@gmail.com> | 2021-12-06 01:42:00 +0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-12-06 13:49:26 +0000 |
commit | c686316ec1210d43653c91e104c1e4cd0156dc89 (patch) | |
tree | 434c791e2296c36139ac65ade1836444633fa6ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e733ab7e3e5dc1bf7d34e050e839fc902ce7ff98 (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions