We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f7dc7d commit c9ac080Copy full SHA for c9ac080
drivers/net/ethernet/moxa/moxart_ether.c
@@ -510,14 +510,14 @@ static int moxart_mac_probe(struct platform_device *pdev)
510
}
511
512
priv->tx_buf_base = kmalloc_array(priv->tx_buf_size, TX_DESC_NUM,
513
- GFP_ATOMIC);
+ GFP_KERNEL);
514
if (!priv->tx_buf_base) {
515
ret = -ENOMEM;
516
goto init_fail;
517
518
519
priv->rx_buf_base = kmalloc_array(priv->rx_buf_size, RX_DESC_NUM,
520
521
if (!priv->rx_buf_base) {
522
523
0 commit comments