From patchwork Fri Oct 3 21:29:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 396452 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 1753914016B for ; Sat, 4 Oct 2014 07:29:32 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751370AbaJCV31 (ORCPT ); Fri, 3 Oct 2014 17:29:27 -0400 Received: from mail-bn1bon0116.outbound.protection.outlook.com ([157.56.111.116]:44981 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750832AbaJCV31 (ORCPT ); Fri, 3 Oct 2014 17:29:27 -0400 Received: from BY2PR03MB489.namprd03.prod.outlook.com (10.141.142.14) by BY2PR03MB240.namprd03.prod.outlook.com (10.242.37.20) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Fri, 3 Oct 2014 21:29:23 +0000 Received: from DM2PR03CA0053.namprd03.prod.outlook.com (10.141.96.52) by BY2PR03MB489.namprd03.prod.outlook.com (10.141.142.14) with Microsoft SMTP Server (TLS) id 15.0.1039.15; Fri, 3 Oct 2014 21:29:21 +0000 Received: from BY2FFO11FD002.protection.gbl (2a01:111:f400:7c0c::169) by DM2PR03CA0053.outlook.office365.com (2a01:111:e400:2428::52) with Microsoft SMTP Server (TLS) id 15.0.1044.10 via Frontend Transport; Fri, 3 Oct 2014 21:29:20 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BY2FFO11FD002.mail.protection.outlook.com (10.1.14.124) with Microsoft SMTP Server (TLS) id 15.0.1029.15 via Frontend Transport; Fri, 3 Oct 2014 21:29:20 +0000 Received: from ubuntu.am.freescale.net (ubuntu-010081016085.am.freescale.net [10.81.16.85]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s93LTJIk030824; Fri, 3 Oct 2014 14:29:19 -0700 From: Frank Li To: , CC: , , Frank Li Subject: [PATCH v2 net-next 1/1] net: fec: fix build error at m68k platform Date: Fri, 3 Oct 2014 14:29:14 -0700 Message-ID: <1412371754-60384-1-git-send-email-Frank.Li@freescale.com> X-Mailer: git-send-email 1.9.1 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(448002)(189002)(199003)(31966008)(77156001)(69596002)(4396001)(106466001)(36756003)(81156004)(19580395003)(19580405001)(44976005)(120916001)(10300001)(104166001)(26826002)(15975445006)(97736003)(99396003)(68736004)(95666004)(102836001)(62966002)(47776003)(93916002)(85852003)(229853001)(107046002)(21056001)(20776003)(80022003)(46102003)(89996001)(6806004)(85326001)(87286001)(88136002)(50986999)(87936001)(64706001)(76482002)(50226001)(50466002)(84676001)(48376002)(104016003)(85306004)(92726001)(86362001)(92566001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB489; H:az84smr01.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB489; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 0353563E2B Received-SPF: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Authentication-Results: spf=permerror (sender IP is 192.88.158.2) smtp.mailfrom=Frank.Li@freescale.com; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB240; X-OriginatorOrg: freescale.com Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 1b7bde6d659d30f171259cc2dfba8e5dab34e735 make.cross ARCH=m68k m5275evb_defconfig make.cross ARCH=m68k All error/warnings: drivers/net/ethernet/freescale/fec_main.c: In function 'fec_enet_rx_queue': >> drivers/net/ethernet/freescale/fec_main.c:1470:3: error: implicit declaration of function 'prefetch' [-Werror=implicit-function-declaration] prefetch(skb->data - NET_IP_ALIGN); ^ cc1: some warnings being treated as errors missed included prefetch.h Reported-by: kbuild test robot Signed-off-by: Frank Li --- Change from v1 to V2 - add reported by - add make config drivers/net/ethernet/freescale/fec_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 1f07db8..e190eb0 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -57,6 +57,7 @@ #include #include #include +#include #include