aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLinmao Li <lilinmao@kylinos.cn>2026-08-12 14:07:37 +0800
committerLachlan Hodges <lachlan.hodges@morsemicro.com>2026-09-02 21:44:53 +1000
commit87230a514d2ca128c3fcd96126bb18162459640f (patch)
treedc2a737e2e616c8ea1061f6f8945d351f4f02a8f /scripts/Makefile.thinlto
parentwifi: mm81x: fix type bugs handling sdio_readl/writel() (diff)
wifi: mm81x: free the firmware scratch buffer on parse failures
mm81x_fw_load_fw() allocates fw_buf before it inspects the image, but releases it only on the success path. The two early returns taken for a malformed image leave one firmware-sized allocation attached to the device, and mm81x_fw_flash() retries the load three times. Release it on those paths too, the way mm81x_fw_load_bcf() already does. Fixes: b1906cea00b0 ("wifi: mm81x: add mm81x Wi-Fi HaLow driver") Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Link: https://patch.msgid.link/20260812060740.1275280-2-lilinmao@kylinos.cn Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions