diff options
Diffstat (limited to 'drivers/net/ehea')
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 2 | ||||
-rw-r--r-- | drivers/net/ehea/ehea_qmr.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index 8b92acb448c2..3beba70b7dea 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -335,7 +335,7 @@ static struct net_device_stats *ehea_get_stats(struct net_device *dev) | |||
335 | 335 | ||
336 | memset(stats, 0, sizeof(*stats)); | 336 | memset(stats, 0, sizeof(*stats)); |
337 | 337 | ||
338 | cb2 = (void *)get_zeroed_page(GFP_ATOMIC); | 338 | cb2 = (void *)get_zeroed_page(GFP_KERNEL); |
339 | if (!cb2) { | 339 | if (!cb2) { |
340 | ehea_error("no mem for cb2"); | 340 | ehea_error("no mem for cb2"); |
341 | goto out; | 341 | goto out; |
diff --git a/drivers/net/ehea/ehea_qmr.h b/drivers/net/ehea/ehea_qmr.h index 882c50c9c34f..f608a6c54af5 100644 --- a/drivers/net/ehea/ehea_qmr.h +++ b/drivers/net/ehea/ehea_qmr.h | |||
@@ -126,7 +126,7 @@ struct ehea_swqe { | |||
126 | u8 immediate_data[SWQE2_MAX_IMM]; | 126 | u8 immediate_data[SWQE2_MAX_IMM]; |
127 | /* 0xd0 */ | 127 | /* 0xd0 */ |
128 | struct ehea_vsgentry sg_list[EHEA_MAX_WQE_SG_ENTRIES-1]; | 128 | struct ehea_vsgentry sg_list[EHEA_MAX_WQE_SG_ENTRIES-1]; |
129 | } immdata_desc __attribute__ ((packed)); | 129 | } immdata_desc __packed; |
130 | 130 | ||
131 | /* Send WQE Format 3 */ | 131 | /* Send WQE Format 3 */ |
132 | struct { | 132 | struct { |