aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorXiaoke Wang <[email protected]>2022-03-14 18:36:45 +0800
committerMark Brown <[email protected]>2022-03-16 16:39:17 +0000
commitd39664cb758e9e329ac3ba05bd4f813f928f63c2 (patch)
tree305a148c9ada1e4be018f228ecaefe7167615ff4 /tools/perf/scripts/python/check-perf-trace.py
parenta8ae15ead9c9d10671c3f76cb0749dec6e571ce7 (diff)
ASoC: samsung: i2s: check the return value of kstrdup()
kstrdup() is a memory allocation function which can return NULL when some internal memory errors happen. It is better to check the return value of it to catch the error in time. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Xiaoke Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions