diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-09-08 13:06:54 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2021-09-08 13:06:54 +0000 |
commit | b8db54bf6a0875293344ee68e9c6963830c6e915 (patch) | |
tree | 0e63730d844591ab532e3e7b706ac023468fe2e9 /sys/dev/softraidvar.h | |
parent | 5504f3b389642bd2c0e3212b2b23277a28836812 (diff) |
Add a missing call to iwx_ctxt_info_free_fw_img() in an error path
of iwx_ctxt_info_init() which should always free on error.
Also, free firmware paging DMA memory in case loading firmware has failed.
If we don't free paging on error we hit KASSERT(dram->paging == NULL)
in iwx_init_fw_sec() once we try to load firmware again. I have hit
this while debugging firmware load failures during suspend/resume.
ok mpi@
Diffstat (limited to 'sys/dev/softraidvar.h')
0 files changed, 0 insertions, 0 deletions