Merge "cnss2: Assert on FW memory allocation failure"

This commit is contained in:
qctecmdr 2021-08-26 03:37:51 -07:00 committed by Gerrit - the friendly Code Review server
commit d8ffa18efa

View file

@ -3408,8 +3408,7 @@ int cnss_pci_alloc_fw_mem(struct cnss_pci_data *pci_priv)
if (!fw_mem[i].va) {
cnss_pr_err("Failed to allocate memory for FW, size: 0x%zx, type: %u\n",
fw_mem[i].size, fw_mem[i].type);
return -ENOMEM;
BUG();
}
}
}