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 99a507a commit 0e479b4Copy full SHA for 0e479b4
drivers/tty/serial/8250/8250_bcm7271.c
@@ -1075,15 +1075,15 @@ static int brcmuart_probe(struct platform_device *pdev)
1075
priv->rx_size,
1076
&priv->rx_addr, GFP_KERNEL);
1077
if (!priv->rx_bufs) {
1078
- ret = -EINVAL;
+ ret = -ENOMEM;
1079
goto err;
1080
}
1081
priv->tx_size = UART_XMIT_SIZE;
1082
priv->tx_buf = dma_alloc_coherent(dev,
1083
priv->tx_size,
1084
&priv->tx_addr, GFP_KERNEL);
1085
if (!priv->tx_buf) {
1086
1087
1088
1089
0 commit comments