]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: ath9k: owl: move name into owl_nvmem_probe
authorRosen Penev <rosenp@gmail.com>
Mon, 23 Feb 2026 22:42:54 +0000 (14:42 -0800)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Thu, 30 Apr 2026 21:24:06 +0000 (14:24 -0700)
commit7b2338d5ec6fee29f92fae791219ab9fbd206567
tree40abd8a342b35a8ada9dad17fa8dac9b9bed2155
parent22e8b91d18972f5e1de13af7f55555e550ad1818
wifi: ath9k: owl: move name into owl_nvmem_probe

There is no need for dynamic allocation for a simple string.
request_firmware_nowait copies the string internally anyway.

The error message on failure is also wrong. It's an allocation failure,
not a find failure.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Link: https://patch.msgid.link/20260223224254.27081-1-rosenp@gmail.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath9k/ath9k_pci_owl_loader.c