diff options
author | Frank Li <Frank.Li@freescale.com> | 2014-10-03 23:29:14 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-06 06:19:13 +0200 |
commit | c259c132ad284576ab44308d5d17ea6a16c971b5 (patch) | |
tree | 3d25a49066d995770e47cced5eba4a034f6d6c95 /net/dcb/dcbnl.c | |
parent | net: bcmgenet: improve bcmgenet_mii_setup() (diff) | |
download | linux-c259c132ad284576ab44308d5d17ea6a16c971b5.tar.xz linux-c259c132ad284576ab44308d5d17ea6a16c971b5.zip |
net: fec: fix build error at m68k platform
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 <fengguang.wu@intel.com>
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb/dcbnl.c')
0 files changed, 0 insertions, 0 deletions