Commit b4af9ee9 authored by farah kassabri's avatar farah kassabri Committed by Oded Gabbay

habanalabs: fix wrong variable type used for vzalloc

vzalloc expects void* and not void __iomem*.
Signed-off-by: default avatarfarah kassabri <fkassabri@habana.ai>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent f304d130
...@@ -2019,9 +2019,10 @@ static int hl_fw_dynamic_read_and_validate_descriptor(struct hl_device *hdev, ...@@ -2019,9 +2019,10 @@ static int hl_fw_dynamic_read_and_validate_descriptor(struct hl_device *hdev,
struct fw_load_mgr *fw_loader) struct fw_load_mgr *fw_loader)
{ {
struct lkd_fw_comms_desc *fw_desc; struct lkd_fw_comms_desc *fw_desc;
void __iomem *src, *temp_fw_desc;
struct pci_mem_region *region; struct pci_mem_region *region;
struct fw_response *response; struct fw_response *response;
void *temp_fw_desc;
void __iomem *src;
u16 fw_data_size; u16 fw_data_size;
enum pci_region region_id; enum pci_region region_id;
int rc; int rc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment