diff options
author | Chenyuan Yang <chenyuan0y@gmail.com> | 2025-03-11 04:57:14 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-03-17 02:33:38 +0300 |
commit | 0ec6bd16705fe21d6429d6b8f7981eae2142bba8 (patch) | |
tree | 5d27ea6ef521257628b55fb328518b54934e04ce /tools/perf/scripts/python/syscall-counts.py | |
parent | f37ab219a3336ef787ce4babd20510f060f6f48d (diff) | |
download | linux-0ec6bd16705fe21d6429d6b8f7981eae2142bba8.tar.xz |
ASoC: sma1307: Add NULL check in sma1307_setting_loaded()
All varibale allocated by kzalloc and devm_kzalloc could be NULL.
Multiple pointer checks and their cleanup are added.
This issue is found by our static analysis tool
Signed-off-by: Chenyuan Yang <chenyuan0y@gmail.com>
Link: https://patch.msgid.link/20250311015714.1333857-1-chenyuan0y@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions