hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/net/ethernet/intel/i40e/i40e_alloc.h
....@@ -20,16 +20,11 @@
2020 };
2121
2222 /* prototype for functions used for dynamic memory allocation */
23
-i40e_status i40e_allocate_dma_mem(struct i40e_hw *hw,
24
- struct i40e_dma_mem *mem,
25
- enum i40e_memory_type type,
26
- u64 size, u32 alignment);
27
-i40e_status i40e_free_dma_mem(struct i40e_hw *hw,
28
- struct i40e_dma_mem *mem);
29
-i40e_status i40e_allocate_virt_mem(struct i40e_hw *hw,
30
- struct i40e_virt_mem *mem,
31
- u32 size);
32
-i40e_status i40e_free_virt_mem(struct i40e_hw *hw,
33
- struct i40e_virt_mem *mem);
23
+int i40e_allocate_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem,
24
+ enum i40e_memory_type type, u64 size, u32 alignment);
25
+int i40e_free_dma_mem(struct i40e_hw *hw, struct i40e_dma_mem *mem);
26
+int i40e_allocate_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem,
27
+ u32 size);
28
+int i40e_free_virt_mem(struct i40e_hw *hw, struct i40e_virt_mem *mem);
3429
3530 #endif /* _I40E_ALLOC_H_ */