Re: [PATCH net-next] net: sgi: use GFP_ATOMIC under spin lock

2019-02-17 Thread David Miller
From: Wei Yongjun Date: Sat, 16 Feb 2019 01:48:09 + > The function meth_init_tx_ring() is called from meth_tx_timeout(), > in which spin_lock is held, so we should use GFP_ATOMIC instead. > > Fixes: 8d4c28fbc284 ("meth: pass struct device to DMA API functions") > Signed-off-by: Wei Yongjun

[PATCH net-next] net: sgi: use GFP_ATOMIC under spin lock

2019-02-15 Thread Wei Yongjun
The function meth_init_tx_ring() is called from meth_tx_timeout(), in which spin_lock is held, so we should use GFP_ATOMIC instead. Fixes: 8d4c28fbc284 ("meth: pass struct device to DMA API functions") Signed-off-by: Wei Yongjun --- drivers/net/ethernet/sgi/meth.c | 2 +- 1 file changed, 1 inser