Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07c357f3 authored by Tushar Dave's avatar Tushar Dave Committed by Jeff Kirsher
Browse files

i40evf: remove unnecessary __packed



This is similar to 'commit 9588397d ("i40e: remove unnecessary
__packed")' to avoid unaligned access.

Signed-off-by: default avatarTushar Dave <tushar.n.dave@oracle.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent c969ef4e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ struct i40e_dma_mem {
	void *va;
	dma_addr_t pa;
	u32 size;
} __packed;
};

#define i40e_allocate_dma_mem(h, m, unused, s, a) \
	i40evf_allocate_dma_mem_d(h, m, s, a)
@@ -63,7 +63,7 @@ struct i40e_dma_mem {
struct i40e_virt_mem {
	void *va;
	u32 size;
} __packed;
};
#define i40e_allocate_virt_mem(h, m, s) i40evf_allocate_virt_mem_d(h, m, s)
#define i40e_free_virt_mem(h, m) i40evf_free_virt_mem_d(h, m)