* [PATCH net-next] altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree
@ 2015-02-23 17:27 Vince Bridgers
2015-02-23 23:07 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Vince Bridgers @ 2015-02-23 17:27 UTC (permalink / raw)
To: netdev, nios2-dev, linux-kernel; +Cc: vbridger, vbridger, setka
From: Vlastimil Setka <setka@vsis.cz>
This patch corrects a typo in the way tx_fifo_depth is read from the
devicetree. This patch was submitted by Vlastimil about a week ago,
and is now cleaned up and resubmitted.
Signed-off-by: Vlastimil Setka <setka@vsis.cz>
Signed-off-by: Vince Bridgers <vbridger@opensource.altera.com>
---
drivers/net/ethernet/altera/altera_tse_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c
index a1ee261..91ad435 100644
--- a/drivers/net/ethernet/altera/altera_tse_main.c
+++ b/drivers/net/ethernet/altera/altera_tse_main.c
@@ -1407,7 +1407,7 @@ static int altera_tse_probe(struct platform_device *pdev)
}
if (of_property_read_u32(pdev->dev.of_node, "tx-fifo-depth",
- &priv->rx_fifo_depth)) {
+ &priv->tx_fifo_depth)) {
dev_err(&pdev->dev, "cannot obtain tx-fifo-depth\n");
ret = -ENXIO;
goto err_free_netdev;
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH net-next] altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree
2015-02-23 17:27 [PATCH net-next] altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree Vince Bridgers
@ 2015-02-23 23:07 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-02-23 23:07 UTC (permalink / raw)
To: vbridger; +Cc: netdev, nios2-dev, linux-kernel, vbridger, setka
From: Vince Bridgers <vbridger@opensource.altera.com>
Date: Mon, 23 Feb 2015 11:27:37 -0600
> From: Vlastimil Setka <setka@vsis.cz>
>
> This patch corrects a typo in the way tx_fifo_depth is read from the
> devicetree. This patch was submitted by Vlastimil about a week ago,
> and is now cleaned up and resubmitted.
>
> Signed-off-by: Vlastimil Setka <setka@vsis.cz>
> Signed-off-by: Vince Bridgers <vbridger@opensource.altera.com>
This is a bug fix, so I'm applying it to 'net'.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-23 23:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-23 17:27 [PATCH net-next] altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree Vince Bridgers
2015-02-23 23:07 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®