diff options
author | Yuval Mintz <Yuval.Mintz@qlogic.com> | 2016-02-21 11:40:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-21 22:49:15 -0500 |
commit | 60fffb3b80e8669636ab4bc067869b7516f47147 (patch) | |
tree | 98d2456155f477c0acac17e466abe4fac03fb86d /drivers/net/ethernet/qlogic/qed/qed_cxt.c | |
parent | ea5b2f4406d1b00324f0f572e505360695c8f8be (diff) | |
download | linux-60fffb3b80e8669636ab4bc067869b7516f47147.tar.bz2 |
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_cxt.c')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_cxt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_cxt.c b/drivers/net/ethernet/qlogic/qed/qed_cxt.c index d3f7a0215e7e..fc767c07a264 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_cxt.c +++ b/drivers/net/ethernet/qlogic/qed/qed_cxt.c @@ -448,7 +448,7 @@ int qed_cxt_mngr_alloc(struct qed_hwfn *p_hwfn) struct qed_cxt_mngr *p_mngr; u32 i; - p_mngr = kzalloc(sizeof(*p_mngr), GFP_ATOMIC); + p_mngr = kzalloc(sizeof(*p_mngr), GFP_KERNEL); if (!p_mngr) { DP_NOTICE(p_hwfn, "Failed to allocate `struct qed_cxt_mngr'\n"); return -ENOMEM; |