aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMa Ke <[email protected]>2024-09-03 09:44:55 +0800
committerFelix Fietkau <[email protected]>2024-09-06 14:23:07 +0200
commit1ccc9e476ce76e8577ba4fdbd1f63cb3e3499d38 (patch)
treedf262b76a06d3afb74235c8cba933d509e4a42ec /tools/perf/scripts/python/task-analyzer.py
parent267efeda8c55f30e0e7c5b7fd03dea4efec6916c (diff)
wifi: mt76: mt7921: Check devm_kasprintf() returned value
devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value. Found by code review. Cc: [email protected] Fixes: 6ae39b7c7ed4 ("wifi: mt76: mt7921: Support temp sensor") Signed-off-by: Ma Ke <[email protected]> Reviwed-by: Matthias Brugger <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions