diff options
author | 2016-02-21 11:40:07 +0200 | |
---|---|---|
committer | 2016-02-21 22:49:15 -0500 | |
commit | 60fffb3b80e8669636ab4bc067869b7516f47147 (patch) | |
tree | 98d2456155f477c0acac17e466abe4fac03fb86d /drivers/net/ethernet/qlogic/qed/qed_hw.c | |
parent | Merge branch 'ipvlan-misc' (diff) | |
download | wireguard-linux-60fffb3b80e8669636ab4bc067869b7516f47147.tar.xz wireguard-linux-60fffb3b80e8669636ab4bc067869b7516f47147.zip |
qed: Turn most GFP_ATOMIC into GFP_KERNEL
Initial driver submission used GFP_ATOMIC almost inclusively when
allocating memory. We now remedy this point, using GFP_KERNEL where
it's possible.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_hw.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_hw.c b/drivers/net/ethernet/qlogic/qed/qed_hw.c index ffa99273b353..a95a3e4b3101 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_hw.c +++ b/drivers/net/ethernet/qlogic/qed/qed_hw.c @@ -44,7 +44,7 @@ struct qed_ptt_pool { int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn) { struct qed_ptt_pool *p_pool = kmalloc(sizeof(*p_pool), - GFP_ATOMIC); + GFP_KERNEL); int i; if (!p_pool) |