From: David Miller Subject: Re: [PATCH net-next 1/1] net: fec: fix build error at m68k platform Date: Mon, 06 Oct 2014 00:19:43 -0400 (EDT) Message-ID: <20141006.001943.1985890859811807248.davem@davemloft.net> References: <1412362831-59318-1-git-send-email-Frank.Li@freescale.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: lznuaa@gmail.com, netdev@vger.kernel.org, b38611@freescale.com To: Frank.Li@freescale.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:57594 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbaJFETp (ORCPT ); Mon, 6 Oct 2014 00:19:45 -0400 In-Reply-To: <1412362831-59318-1-git-send-email-Frank.Li@freescale.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Frank Li Date: Fri, 3 Oct 2014 12:00:31 -0700 > 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 > # save the attached .config to linux build tree > 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 > > Signed-off-by: Frank Li Applied, thanks Frank.