Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751592AbcLEOFD (ORCPT ); Mon, 5 Dec 2016 09:05:03 -0500 Received: from mail-wm0-f47.google.com ([74.125.82.47]:38538 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751096AbcLEOFC (ORCPT ); Mon, 5 Dec 2016 09:05:02 -0500 From: Nikita Yushchenko Subject: Re: [patch net v2] net: fec: fix compile with CONFIG_M5272 To: kbuild test robot References: <201612052104.HSl9jlj9%fengguang.wu@intel.com> Cc: kbuild-all@01.org, "David S. Miller" , Fugang Duan , Troy Kisky , Andrew Lunn , Eric Nelson , Philippe Reynes , Johannes Berg , netdev@vger.kernel.org, Chris Healy , Fabio Estevam , linux-kernel@vger.kernel.org Message-ID: <60acf0f4-2f1f-2b2c-06ed-b1d8cb03525d@cogentembedded.com> Date: Mon, 5 Dec 2016 16:55:51 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <201612052104.HSl9jlj9%fengguang.wu@intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1719 Lines: 44 Aieee I was typing too fast today, sorry... send separate "fix for the fix", or re-send patch without that silly typo? Nikita > Hi Nikita, > > [auto build test ERROR on net/master] > > url: https://github.com/0day-ci/linux/commits/Nikita-Yushchenko/net-fec-fix-compile-with-CONFIG_M5272/20161205-181735 > config: arm-multi_v5_defconfig (attached as .config) > compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 > 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 > # save the attached .config to linux build tree > make.cross ARCH=arm > > All errors (new ones prefixed by >>): > > drivers/net/ethernet/freescale/fec_main.c: In function 'fec_probe': >>> drivers/net/ethernet/freescale/fec_main.c:3304:7: error: 'FEC_STAT_SIZE' undeclared (first use in this function) > FEC_STAT_SIZE, num_tx_qs, num_rx_qs); > ^~~~~~~~~~~~~ > drivers/net/ethernet/freescale/fec_main.c:3304:7: note: each undeclared identifier is reported only once for each function it appears in > > vim +/FEC_STAT_SIZE +3304 drivers/net/ethernet/freescale/fec_main.c > > 3298 int num_rx_qs; > 3299 > 3300 fec_enet_get_queue_num(pdev, &num_tx_qs, &num_rx_qs); > 3301 > 3302 /* Init network device */ > 3303 ndev = alloc_etherdev_mqs(sizeof(struct fec_enet_private) + >> 3304 FEC_STAT_SIZE, num_tx_qs, num_rx_qs); > 3305 if (!ndev) > 3306 return -ENOMEM; > 3307 > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation >