diff options
author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-02-19 11:36:45 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2025-03-19 14:47:03 +0100 |
commit | 4bc1da524b502999da28d287de4286c986a1af57 (patch) | |
tree | 05cecd333325d5eac8b1328f8e8ae02a0410fd29 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6458d760a0c0afd2fda11e83ed3e1125a252432f (diff) |
wifi: mt76: Add check for devm_kstrdup()
Add check for the return value of devm_kstrdup() in
mt76_get_of_data_from_mtd() to catch potential exception.
Fixes: e7a6a044f9b9 ("mt76: testmode: move mtd part to mt76_dev")
Cc: stable@vger.kernel.org
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Link: https://patch.msgid.link/20250219033645.2594753-1-haoxiang_li2024@163.com
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions