From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S942310AbcJ1VSB (ORCPT ); Fri, 28 Oct 2016 17:18:01 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:32797 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933956AbcJ1VR6 (ORCPT ); Fri, 28 Oct 2016 17:17:58 -0400 Subject: Re: [PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs To: kbuild test robot References: <201610290422.JEtRRTFh%fengguang.wu@intel.com> Cc: kbuild-all@01.org, Alan Tull , Moritz Fischer , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Fabio Estevam , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org From: Joshua Clayton Message-ID: <7f36c345-b4f9-60b2-5f88-99fa7ec31119@gmail.com> Date: Fri, 28 Oct 2016 14:05:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <201610290422.JEtRRTFh%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dang it! This was flagged last time around and I forgot to fix it. On 10/28/2016 01:41 PM, kbuild test robot wrote: > Hi Joshua, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.9-rc2 next-20161028] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] > [Check https://git-scm.com/docs/git-format-patch for more information] > > url: https://github.com/0day-ci/linux/commits/Joshua-Clayton/lib-add-bitrev8x4/20161029-012535 > config: openrisc-allmodconfig (attached as .config) > compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 > reproduce:Dang it! > 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=openrisc > > All errors (new ones prefixed by >>): > > drivers/fpga/cyclone-ps-spi.c: In function 'cyclonespi_write': > drivers/fpga/cyclone-ps-spi.c:89:19: error: 'SZ_4K' undeclared (first use in this function) > drivers/fpga/cyclone-ps-spi.c:89:19: note: each undeclared identifier is reported only once for each function it appears in >>> drivers/fpga/cyclone-ps-spi.c:89:19: error: type defaults to 'int' in declaration of '__UNIQUE_ID_min2_15' > vim +89 drivers/fpga/cyclone-ps-spi.c > > 83 struct cyclonespi_conf *conf = (struct cyclonespi_conf *)mgr->priv; > 84 const char *fw_data = buf; > 85 const char *fw_data_end = fw_data + count; > 86 > 87 while (fw_data < fw_data_end) { > 88 int ret; > > 89 size_t stride = min(fw_data_end - fw_data, SZ_4K); > 90 > 91 rev_buf((void *)fw_data, stride); > 92 ret = spi_write(conf->spi, fw_data, stride); > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation Thanks, kbuild test robot. Will fix this time. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Clayton Subject: Re: [PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs Date: Fri, 28 Oct 2016 14:05:36 -0700 Message-ID: <7f36c345-b4f9-60b2-5f88-99fa7ec31119@gmail.com> References: <201610290422.JEtRRTFh%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201610290422.JEtRRTFh%fengguang.wu@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: kbuild test robot Cc: Mark Rutland , Moritz Fischer , devicetree@vger.kernel.org, Alan Tull , Russell King , linux-kernel@vger.kernel.org, Rob Herring , kbuild-all@01.org, Sascha Hauer , Fabio Estevam , Shawn Guo , linux-arm-kernel@lists.infradead.org List-Id: devicetree@vger.kernel.org Dang it! This was flagged last time around and I forgot to fix it. On 10/28/2016 01:41 PM, kbuild test robot wrote: > Hi Joshua, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.9-rc2 next-20161028] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] > [Check https://git-scm.com/docs/git-format-patch for more information] > > url: https://github.com/0day-ci/linux/commits/Joshua-Clayton/lib-add-bitrev8x4/20161029-012535 > config: openrisc-allmodconfig (attached as .config) > compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 > reproduce:Dang it! > 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=openrisc > > All errors (new ones prefixed by >>): > > drivers/fpga/cyclone-ps-spi.c: In function 'cyclonespi_write': > drivers/fpga/cyclone-ps-spi.c:89:19: error: 'SZ_4K' undeclared (first use in this function) > drivers/fpga/cyclone-ps-spi.c:89:19: note: each undeclared identifier is reported only once for each function it appears in >>> drivers/fpga/cyclone-ps-spi.c:89:19: error: type defaults to 'int' in declaration of '__UNIQUE_ID_min2_15' > vim +89 drivers/fpga/cyclone-ps-spi.c > > 83 struct cyclonespi_conf *conf = (struct cyclonespi_conf *)mgr->priv; > 84 const char *fw_data = buf; > 85 const char *fw_data_end = fw_data + count; > 86 > 87 while (fw_data < fw_data_end) { > 88 int ret; > > 89 size_t stride = min(fw_data_end - fw_data, SZ_4K); > 90 > 91 rev_buf((void *)fw_data, stride); > 92 ret = spi_write(conf->spi, fw_data, stride); > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation Thanks, kbuild test robot. Will fix this time. From mboxrd@z Thu Jan 1 00:00:00 1970 From: stillcompiling@gmail.com (Joshua Clayton) Date: Fri, 28 Oct 2016 14:05:36 -0700 Subject: [PATCH v2 3/5] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs In-Reply-To: <201610290422.JEtRRTFh%fengguang.wu@intel.com> References: <201610290422.JEtRRTFh%fengguang.wu@intel.com> Message-ID: <7f36c345-b4f9-60b2-5f88-99fa7ec31119@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Dang it! This was flagged last time around and I forgot to fix it. On 10/28/2016 01:41 PM, kbuild test robot wrote: > Hi Joshua, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.9-rc2 next-20161028] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] > [Check https://git-scm.com/docs/git-format-patch for more information] > > url: https://github.com/0day-ci/linux/commits/Joshua-Clayton/lib-add-bitrev8x4/20161029-012535 > config: openrisc-allmodconfig (attached as .config) > compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 > reproduce:Dang it! > 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=openrisc > > All errors (new ones prefixed by >>): > > drivers/fpga/cyclone-ps-spi.c: In function 'cyclonespi_write': > drivers/fpga/cyclone-ps-spi.c:89:19: error: 'SZ_4K' undeclared (first use in this function) > drivers/fpga/cyclone-ps-spi.c:89:19: note: each undeclared identifier is reported only once for each function it appears in >>> drivers/fpga/cyclone-ps-spi.c:89:19: error: type defaults to 'int' in declaration of '__UNIQUE_ID_min2_15' > vim +89 drivers/fpga/cyclone-ps-spi.c > > 83 struct cyclonespi_conf *conf = (struct cyclonespi_conf *)mgr->priv; > 84 const char *fw_data = buf; > 85 const char *fw_data_end = fw_data + count; > 86 > 87 while (fw_data < fw_data_end) { > 88 int ret; > > 89 size_t stride = min(fw_data_end - fw_data, SZ_4K); > 90 > 91 rev_buf((void *)fw_data, stride); > 92 ret = spi_write(conf->spi, fw_data, stride); > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation Thanks, kbuild test robot. Will fix this time.