From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com ([134.134.136.65]:58139 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753598AbeE3FYT (ORCPT ); Wed, 30 May 2018 01:24:19 -0400 Date: Wed, 30 May 2018 13:21:10 +0800 From: Ye Xiaolong To: Marek Vasut Cc: kbuild test robot , kbuild-all@01.org, linux-kernel@vger.kernel.org, Marek Vasut , Geert Uytterhoeven , Lee Jones , Mark Brown , Steve Twiss , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: Re: [PATCH 2/6] mfd: da9063: Replace model with type Message-ID: <20180530052110.GB27396@yexl-desktop> References: <20180523114230.10109-2-marek.vasut+renesas@gmail.com> <201805261713.OJMLXvlB%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Hi, Marek On 05/26, Marek Vasut wrote: >On 05/26/2018 11:16 AM, kbuild test robot wrote: >> Hi Marek, >> >> I love your patch! Perhaps something to improve: >> >> [auto build test WARNING on ljones-mfd/for-mfd-next] >> [also build test WARNING on v4.17-rc6] >> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] >> >> url: https://github.com/0day-ci/linux/commits/Marek-Vasut/mfd-da9063-Rename-PMIC_DA9063-to-PMIC_CHIP_ID_DA9063/20180526-162613 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next >> config: x86_64-randconfig-x002-201820 (attached as .config) >> compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 >> reproduce: >> # save the attached .config to linux build tree >> make ARCH=x86_64 >> >> All warnings (new ones prefixed by >>): >> >> In file included from include/linux/kernel.h:10:0, >> from drivers//regulator/da9063-regulator.c:16: >> drivers//regulator/da9063-regulator.c: In function 'da9063_regulator_probe': >> drivers//regulator/da9063-regulator.c:744:12: error: 'const struct da9063_dev_model' has no member named 'dev_model' >> if (model->dev_model == da9063->type) >> ^ >> include/linux/compiler.h:58:30: note: in definition of macro '__trace_if' >> if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ >> ^~~~ >>>> drivers//regulator/da9063-regulator.c:744:3: note: in expansion of macro 'if' >> if (model->dev_model == da9063->type) >> ^~ >> drivers//regulator/da9063-regulator.c:744:12: error: 'const struct da9063_dev_model' has no member named 'dev_model' >> if (model->dev_model == da9063->type) >> ^ >> include/linux/compiler.h:58:42: note: in definition of macro '__trace_if' >> if (__builtin_constant_p(!!(cond)) ? !!(cond) : \ >> ^~~~ >>>> drivers//regulator/da9063-regulator.c:744:3: note: in expansion of macro 'if' >> if (model->dev_model == da9063->type) >> ^~ >> drivers//regulator/da9063-regulator.c:744:12: error: 'const struct da9063_dev_model' has no member named 'dev_model' >> if (model->dev_model == da9063->type) >> ^ >> include/linux/compiler.h:69:16: note: in definition of macro '__trace_if' >> ______r = !!(cond); \ >> ^~~~ >>>> drivers//regulator/da9063-regulator.c:744:3: note: in expansion of macro 'if' >> if (model->dev_model == da9063->type) >> ^~ >> drivers//regulator/da9063-regulator.c:749:10: error: 'struct da9063' has no member named 'model' >> da9063->model); >> ^~ >> >> vim +/if +744 drivers//regulator/da9063-regulator.c > >Is it testing this patch without the other patches in the series or at >least 1/6 ? It was tested with the whole patch series as you can see in https://github.com/0day-ci/linux/commits/Marek-Vasut/mfd-da9063-Rename-PMIC_DA9063-to-PMIC_CHIP_ID_DA9063/20180526-162613. Thanks, Xiaolong > >-- >Best regards, >Marek Vasut >