diff options
| author | Ma Ke <[email protected]> | 2024-09-03 09:49:55 +0800 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2024-09-06 14:23:07 +0200 |
| commit | 267efeda8c55f30e0e7c5b7fd03dea4efec6916c (patch) | |
| tree | 1796a3d9abae964da8ccc0267a01c995ab0857d9 /tools/perf/scripts/python/bin | |
| parent | b13cd593ef2402e413e5c5c63e1b5e9ab5ed0e6e (diff) | |
wifi: mt76: mt7915: 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]>
Reviewed-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/bin')
0 files changed, 0 insertions, 0 deletions