[{"id":1799219,"web_url":"http://patchwork.ozlabs.org/comment/1799219/","msgid":"<201711051521.E1wdDphN%fengguang.wu@intel.com>","list_archive_url":null,"date":"2017-11-05T07:45:59","subject":"Re: [PATCH 5/7] MIPS: Octeon: Automatically provision CVMSEG space.","submitter":{"id":67315,"url":"http://patchwork.ozlabs.org/api/people/67315/","name":"kernel test robot","email":"lkp@intel.com"},"content":"Hi David,\n\nI love your patch! Yet something to improve:\n\n[auto build test ERROR on linus/master]\n[also build test ERROR on v4.14-rc7]\n[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]\n\nurl:    https://github.com/0day-ci/linux/commits/David-Daney/Cavium-OCTEON-III-network-driver/20171105-012026\nconfig: mips-cavium_octeon_defconfig (attached as .config)\ncompiler: mips64-linux-gnuabi64-gcc (Debian 6.1.1-9) 6.1.1 20160705\nreproduce:\n        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross\n        chmod +x ~/bin/make.cross\n        # save the attached .config to linux build tree\n        make.cross ARCH=mips \n\nAll error/warnings (new ones prefixed by >>):\n\n   In file included from drivers/staging/octeon/ethernet-rx.c:31:0:\n   drivers/staging/octeon/ethernet-rx.c: In function 'cvm_oct_poll':\n>> drivers/staging/octeon/ethernet-defines.h:35:38: error: 'CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE' undeclared (first use in this function)\n    #define USE_ASYNC_IOBDMA            (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)\n                                         ^\n>> drivers/staging/octeon/ethernet-rx.c:204:6: note: in expansion of macro 'USE_ASYNC_IOBDMA'\n     if (USE_ASYNC_IOBDMA) {\n         ^~~~~~~~~~~~~~~~\n   drivers/staging/octeon/ethernet-defines.h:35:38: note: each undeclared identifier is reported only once for each function it appears in\n    #define USE_ASYNC_IOBDMA            (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)\n                                         ^\n>> drivers/staging/octeon/ethernet-rx.c:204:6: note: in expansion of macro 'USE_ASYNC_IOBDMA'\n     if (USE_ASYNC_IOBDMA) {\n         ^~~~~~~~~~~~~~~~\n--\n   In file included from drivers/staging/octeon/ethernet-tx.c:30:0:\n   drivers/staging/octeon/ethernet-tx.c: In function 'cvm_oct_xmit':\n>> drivers/staging/octeon/ethernet-defines.h:35:38: error: 'CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE' undeclared (first use in this function)\n    #define USE_ASYNC_IOBDMA            (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)\n                                         ^\n>> drivers/staging/octeon/ethernet-tx.c:182:6: note: in expansion of macro 'USE_ASYNC_IOBDMA'\n     if (USE_ASYNC_IOBDMA) {\n         ^~~~~~~~~~~~~~~~\n   drivers/staging/octeon/ethernet-defines.h:35:38: note: each undeclared identifier is reported only once for each function it appears in\n    #define USE_ASYNC_IOBDMA            (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)\n                                         ^\n>> drivers/staging/octeon/ethernet-tx.c:182:6: note: in expansion of macro 'USE_ASYNC_IOBDMA'\n     if (USE_ASYNC_IOBDMA) {\n         ^~~~~~~~~~~~~~~~\n\nvim +/CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE +35 drivers/staging/octeon/ethernet-defines.h\n\n80ff0fd3 David Daney 2009-05-05  34  \n80ff0fd3 David Daney 2009-05-05 @35  #define USE_ASYNC_IOBDMA            (CONFIG_CAVIUM_OCTEON_CVMSEG_SIZE > 0)\n80ff0fd3 David Daney 2009-05-05  36  \n\n:::::: The code at line 35 was first introduced by commit\n:::::: 80ff0fd3ab6451407a20c19b80c1643c4a6d6434 Staging: Add octeon-ethernet driver files.\n\n:::::: TO: David Daney <ddaney@caviumnetworks.com>\n:::::: CC: Ralf Baechle <ralf@linux-mips.org>\n\n---\n0-DAY kernel test infrastructure                Open Source Technology Center\nhttps://lists.01.org/pipermail/kbuild-all                   Intel Corporation","headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3yV77M70jMz9t3p\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun,  5 Nov 2017 18:46:55 +1100 (AEDT)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752520AbdKEHqn (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tSun, 5 Nov 2017 02:46:43 -0500","from mga11.intel.com ([192.55.52.93]:1906 \"EHLO mga11.intel.com\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1750942AbdKEHqm (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tSun, 5 Nov 2017 02:46:42 -0500","from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Nov 2017 00:46:41 -0700","from bee.sh.intel.com (HELO bee) ([10.239.97.14])\n\tby fmsmga004.fm.intel.com with ESMTP; 05 Nov 2017 00:46:39 -0700","from kbuild by bee with local (Exim 4.84_2)\n\t(envelope-from <fengguang.wu@intel.com>)\n\tid 1eBFic-000KVl-PV; Sun, 05 Nov 2017 15:51:46 +0800"],"X-ExtLoop1":"1","X-IronPort-AV":"E=Sophos;i=\"5.44,346,1505804400\"; \n\td=\"gz'50?scan'50,208,50\";a=\"332241334\"","Date":"Sun, 5 Nov 2017 15:45:59 +0800","From":"kbuild test robot <lkp@intel.com>","To":"David Daney <david.daney@cavium.com>","Cc":"kbuild-all@01.org, linux-mips@linux-mips.org, ralf@linux-mips.org,\n\tJames Hogan <james.hogan@mips.com>, netdev@vger.kernel.org,\n\t\"David S. Miller\" <davem@davemloft.net>,\n\tRob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>,\n\tlinux-kernel@vger.kernel.org, \"Steven J. Hill\" <steven.hill@cavium.com>,\n\tdevicetree@vger.kernel.org, David Daney <david.daney@cavium.com>,\n\tCarlos Munoz <cmunoz@caviumnetworks.com>","Subject":"Re: [PATCH 5/7] MIPS: Octeon: Automatically provision CVMSEG space.","Message-ID":"<201711051521.E1wdDphN%fengguang.wu@intel.com>","References":"<20171102003606.19913-6-david.daney@cavium.com>","MIME-Version":"1.0","Content-Type":"multipart/mixed; boundary=\"jI8keyz6grp/JLjh\"","Content-Disposition":"inline","In-Reply-To":"<20171102003606.19913-6-david.daney@cavium.com>","User-Agent":"Mutt/1.5.23 (2014-03-12)","X-SA-Exim-Connect-IP":"<locally generated>","X-SA-Exim-Mail-From":"fengguang.wu@intel.com","X-SA-Exim-Scanned":"No (on bee); SAEximRunCond expanded to false","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"}}]