From patchwork Mon Feb 23 17:27:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vince Bridgers X-Patchwork-Id: 442674 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 6CE28140187 for ; Tue, 24 Feb 2015 08:47:15 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753293AbbBWVrH (ORCPT ); Mon, 23 Feb 2015 16:47:07 -0500 Received: from mail-bl2on0099.outbound.protection.outlook.com ([65.55.169.99]:55712 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751959AbbBWVrG (ORCPT ); Mon, 23 Feb 2015 16:47:06 -0500 Received: from BN1PR0301MB0626.namprd03.prod.outlook.com (25.160.171.11) by BN1PR0301MB0707.namprd03.prod.outlook.com (25.160.78.139) with Microsoft SMTP Server (TLS) id 15.1.93.16; Mon, 23 Feb 2015 21:32:09 +0000 Received: from vince-HP-Z620-Workstation2.altera.com (64.129.157.38) by BN1PR0301MB0626.namprd03.prod.outlook.com (25.160.171.11) with Microsoft SMTP Server (TLS) id 15.1.99.9; Mon, 23 Feb 2015 21:32:06 +0000 From: Vince Bridgers To: , , CC: , , Subject: [PATCH net-next] altera_tse: Correct typo in obtaining tx_fifo_depth from devicetree Date: Mon, 23 Feb 2015 11:27:37 -0600 Message-ID: <1424712457-24291-1-git-send-email-vbridger@opensource.altera.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: BN1PR08CA0042.namprd08.prod.outlook.com (10.242.217.170) To BN1PR0301MB0626.namprd03.prod.outlook.com (25.160.171.11) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=vbridger@opensource.altera.com; X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BN1PR0301MB0626; UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005003); SRVR:BN1PR0301MB0626; BCL:0; PCL:0; RULEID:; SRVR:BN1PR0301MB0626; X-Forefront-PRVS: 0496DF6962 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(199003)(189002)(62966003)(77156002)(101416001)(33646002)(87976001)(122386002)(42186005)(92566002)(53416004)(40100003)(50226001)(105586002)(50986999)(46102003)(106356001)(64706001)(68736005)(81156004)(69596002)(47776003)(19580395003)(19580405001)(229853001)(50466002)(66066001)(86362001)(97736003)(2201001)(48376002)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0626; H:vince-HP-Z620-Workstation2.altera.com; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: opensource.altera.com does not designate permitted sender hosts) X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2015 21:32:06.3713 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0626 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR0301MB0707; X-OriginatorOrg: opensource.altera.com Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Vlastimil Setka 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 Signed-off-by: Vince Bridgers --- 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;