Skip to content
Commit 4bc1da52 authored by Haoxiang Li's avatar Haoxiang Li Committed by Felix Fietkau
Browse files

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: e7a6a044 ("mt76: testmode: move mtd part to mt76_dev")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarHaoxiang Li <haoxiang_li2024@163.com>
Link: https://patch.msgid.link/20250219033645.2594753-1-haoxiang_li2024@163.com


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 6458d760
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment