From patchwork Wed Nov 16 22:50:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 9433183 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3CADD60476 for ; Wed, 16 Nov 2016 22:52:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D7BC29174 for ; Wed, 16 Nov 2016 22:52:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2160F29183; Wed, 16 Nov 2016 22:52:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A9DF029174 for ; Wed, 16 Nov 2016 22:52:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c792h-0006dH-HS; Wed, 16 Nov 2016 22:50:59 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c792c-0006aF-VP for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2016 22:50:55 +0000 Received: by mail-wm0-x241.google.com with SMTP id u144so15854963wmu.0 for ; Wed, 16 Nov 2016 14:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=uMnKgCvOSFhP0oubiZDxo+f4tcFYZ+fP0Wskw6s/BCQ=; b=crYIe8ZwKoUO/hijom3+XtAlplUCrzMd233x14lqj89DZt1LKa9XBrEy5plvTqz8jh 3p9l5o4nYLckzZQNaJ82JpGU8gEWow86BXqdLKTSuy+c18U2aKJtlAcsPCaNaWDv+370 RevX/Htsdzov+qQkBIuLCH4itlMJnvEvjDs+4DzXDnwA2AGsnHFuOMl+C7fxGXudWv2d qMMYfXEFCWDfW/tEJIct8VLjNIMBQL6C5uh6fsL0BKuEcHaiW3MFZxqURoNpDENPNFZu N6v3q+foE0tqDBO+ZYAntMKtEurj7buPGKKk8NvV6HG9zVGRzBgts2btXF0iE9xk5WQk p2WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=uMnKgCvOSFhP0oubiZDxo+f4tcFYZ+fP0Wskw6s/BCQ=; b=YbGmBtqvOb1fkjxneCoNkdfy6j8viAdPUIHwwlAP63zFe32sgzwRBuDwGbww+V/pd8 7f2yiek8C4ruEAapdBDPHtmg2AD6SzJKZG9k1Eli5t7Q0cl3E7diM/7ERxyQ4Ul6Zdyo wbhywwkR2Ajj0zPq1kcvwa7vcifp5H0pBJOuVQr03gAPEtxvmLuf/ekbdU25eqpl0ULw hVBFslqFI18LQfl9gI9XJRilB4vZeeLw1AeyXECON/ElDkD+qe1yVoW/ZmdvX5qQU5uH MqNe16GlbHLPdedj4Zu3ApxadOpZXVEHFM/DvMbqBbhdz0bpjkhDV/1cmI0lbDriKsqF S2PQ== X-Gm-Message-State: ABUngvfIBP4OjHyzW9M5zVPNUT584e7tR38clLlq4Z0W3g8EFp7pPugGX5cqrp1XywiLiw== X-Received: by 10.28.225.11 with SMTP id y11mr529084wmg.93.1479336633117; Wed, 16 Nov 2016 14:50:33 -0800 (PST) Received: from sudip-laptop.Home ([94.0.113.190]) by smtp.gmail.com with ESMTPSA id r7sm11482wjp.43.2016.11.16.14.50.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Nov 2016 14:50:32 -0800 (PST) From: Sudip Mukherjee To: Florian Fainelli , "David S. Miller" Subject: [PATCH] net: bcm63xx_enet: fix build failure Date: Wed, 16 Nov 2016 22:50:16 +0000 Message-Id: <1479336616-26500-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161116_145055_222316_C0F7F1E6 X-CRM114-Status: GOOD ( 10.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: netdev@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sudip Mukherjee MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The build of mips bcm63xx_defconfig was failing with the error: drivers/net/ethernet/broadcom/bcm63xx_enet.c:1440:2: error: expected expression before 'return' The return statement should be termibated with ';' and not ','. Fixes: 42469bf5d9bb ("net: bcm63xx_enet: Utilize phy_ethtool_nway_reset") Signed-off-by: Sudip Mukherjee --- build log is at: https://travis-ci.org/sudipm-mukherjee/parport/jobs/176269457 drivers/net/ethernet/broadcom/bcm63xx_enet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/drivers/net/ethernet/broadcom/bcm63xx_enet.c index a43ab90..3b14d51 100644 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c @@ -1435,7 +1435,7 @@ static int bcm_enet_nway_reset(struct net_device *dev) priv = netdev_priv(dev); if (priv->has_phy) - return phy_ethtool_nway_reset(dev), + return phy_ethtool_nway_reset(dev); return -EOPNOTSUPP; }