projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c969ef4
)
i40evf: remove unnecessary __packed
author
Tushar Dave
<
[email protected]
>
Thu, 22 Jun 2017 17:12:11 +0000
(10:12 -0700)
committer
Jeff Kirsher
<
[email protected]
>
Wed, 26 Jul 2017 10:25:21 +0000
(
03:25
-0700)
This is similar to 'commit
9588397d24eec
("i40e: remove unnecessary
__packed")' to avoid unaligned access.
Signed-off-by: Tushar Dave <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/i40evf/i40e_osdep.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/i40evf/i40e_osdep.h
b/drivers/net/ethernet/intel/i40evf/i40e_osdep.h
index 5e314fd3c016f314d20e487aff568069aa3b7cb6..a90737786c3433a223330e6902e52adb13014218 100644
(file)
--- a/
drivers/net/ethernet/intel/i40evf/i40e_osdep.h
+++ b/
drivers/net/ethernet/intel/i40evf/i40e_osdep.h
@@
-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)