Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753104AbbBWVcP (ORCPT ); Mon, 23 Feb 2015 16:32:15 -0500 Received: from mail-bn1on0090.outbound.protection.outlook.com ([157.56.110.90]:29792 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752387AbbBWVcM (ORCPT ); Mon, 23 Feb 2015 16:32:12 -0500 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 Content-Type: text/plain 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; 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1239 Lines: 33 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; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/