]> git.baikalelectronics.ru Git - kernel.git/commit
net: ag71xx: Use GFP_KERNEL instead of GFP_ATOMIC in 'ag71xx_rings_init()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 31 Jul 2019 08:06:48 +0000 (10:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2019 15:38:36 +0000 (08:38 -0700)
commit1117ff7579a2b32e3a55ce04e77ab897379f1754
tree076ff61b2ebac48ea4349cfbd3bb6574e0c55e13
parent4f00367b034db9aa8f8389ab64357da28671478b
net: ag71xx: Use GFP_KERNEL instead of GFP_ATOMIC in 'ag71xx_rings_init()'

There is no need to use GFP_ATOMIC here, GFP_KERNEL should be enough.
The 'kcalloc()' just a few lines above, already uses GFP_KERNEL.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/ag71xx.c