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

Commit 86ace693 authored by Aleksey Makarov's avatar Aleksey Makarov Committed by David S. Miller
Browse files

net: thunderx: use GFP_KERNEL in thread context



GFP_KERNEL should be used in the thread context

Signed-off-by: default avatarAleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fa1a6c93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -356,7 +356,7 @@ static int nicvf_init_snd_queue(struct nicvf *nic,
		return err;

	sq->desc = sq->dmem.base;
	sq->skbuff = kcalloc(q_len, sizeof(u64), GFP_ATOMIC);
	sq->skbuff = kcalloc(q_len, sizeof(u64), GFP_KERNEL);
	if (!sq->skbuff)
		return -ENOMEM;
	sq->head = 0;