All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Coiby Xu <coiby.xu@gmail.com>, Lee Jones <lee.jones@linaro.org>
Cc: kbuild-all@lists.01.org,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Alexandre Torgue <alexandre.torgue@st.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 6/9] mfd: stmfx: remove unnecessary CONFIG_PM_SLEEP
Date: Fri, 30 Oct 2020 06:36:26 +0800	[thread overview]
Message-ID: <202010300636.N2u2UrXs-lkp@intel.com> (raw)
In-Reply-To: <20201029100647.233361-6-coiby.xu@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5297 bytes --]

Hi Coiby,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on lee-mfd/for-mfd-next]
[also build test ERROR on chanwoo-extcon/extcon-next v5.10-rc1 next-20201029]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Coiby-Xu/mfd-maxim-remove-unnecessary-CONFIG_PM_SLEEP/20201029-180931
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/af64db6e5065ea1b51445005e0e675f8a49db5ec
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Coiby-Xu/mfd-maxim-remove-unnecessary-CONFIG_PM_SLEEP/20201029-180931
        git checkout af64db6e5065ea1b51445005e0e675f8a49db5ec
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/mfd/stmfx.c: In function 'stmfx_suspend':
>> drivers/mfd/stmfx.c:478:16: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     478 |          &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                ^~
   drivers/mfd/stmfx.c:478:43: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     478 |          &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                                           ^~
>> drivers/mfd/stmfx.c:483:16: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     483 |          &stmfx->bkp_irqoutpin,
         |                ^~
   drivers/mfd/stmfx.c:484:22: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     484 |          sizeof(stmfx->bkp_irqoutpin));
         |                      ^~
   drivers/mfd/stmfx.c: In function 'stmfx_resume':
   drivers/mfd/stmfx.c:518:17: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     518 |           &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                 ^~
   drivers/mfd/stmfx.c:518:44: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     518 |           &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                                            ^~
   drivers/mfd/stmfx.c:523:17: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     523 |           &stmfx->bkp_irqoutpin,
         |                 ^~
   drivers/mfd/stmfx.c:524:23: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     524 |           sizeof(stmfx->bkp_irqoutpin));
         |                       ^~
   At top level:
   drivers/mfd/stmfx.c:496:12: warning: 'stmfx_resume' defined but not used [-Wunused-function]
     496 | static int stmfx_resume(struct device *dev)
         |            ^~~~~~~~~~~~
   drivers/mfd/stmfx.c:472:12: warning: 'stmfx_suspend' defined but not used [-Wunused-function]
     472 | static int stmfx_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~

vim +478 drivers/mfd/stmfx.c

06252ade9156657 Amelie Delaunay 2019-05-09  471  
06252ade9156657 Amelie Delaunay 2019-05-09  472  static int stmfx_suspend(struct device *dev)
06252ade9156657 Amelie Delaunay 2019-05-09  473  {
06252ade9156657 Amelie Delaunay 2019-05-09  474  	struct stmfx *stmfx = dev_get_drvdata(dev);
06252ade9156657 Amelie Delaunay 2019-05-09  475  	int ret;
06252ade9156657 Amelie Delaunay 2019-05-09  476  
06252ade9156657 Amelie Delaunay 2019-05-09  477  	ret = regmap_raw_read(stmfx->map, STMFX_REG_SYS_CTRL,
06252ade9156657 Amelie Delaunay 2019-05-09 @478  			      &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
06252ade9156657 Amelie Delaunay 2019-05-09  479  	if (ret)
06252ade9156657 Amelie Delaunay 2019-05-09  480  		return ret;
06252ade9156657 Amelie Delaunay 2019-05-09  481  
06252ade9156657 Amelie Delaunay 2019-05-09  482  	ret = regmap_raw_read(stmfx->map, STMFX_REG_IRQ_OUT_PIN,
06252ade9156657 Amelie Delaunay 2019-05-09 @483  			      &stmfx->bkp_irqoutpin,
06252ade9156657 Amelie Delaunay 2019-05-09  484  			      sizeof(stmfx->bkp_irqoutpin));
06252ade9156657 Amelie Delaunay 2019-05-09  485  	if (ret)
06252ade9156657 Amelie Delaunay 2019-05-09  486  		return ret;
06252ade9156657 Amelie Delaunay 2019-05-09  487  
97eda5dcc2cde5d Amelie Delaunay 2020-04-22  488  	disable_irq(stmfx->irq);
97eda5dcc2cde5d Amelie Delaunay 2020-04-22  489  
06252ade9156657 Amelie Delaunay 2019-05-09  490  	if (stmfx->vdd)
06252ade9156657 Amelie Delaunay 2019-05-09  491  		return regulator_disable(stmfx->vdd);
06252ade9156657 Amelie Delaunay 2019-05-09  492  
06252ade9156657 Amelie Delaunay 2019-05-09  493  	return 0;
06252ade9156657 Amelie Delaunay 2019-05-09  494  }
06252ade9156657 Amelie Delaunay 2019-05-09  495  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 63298 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 6/9] mfd: stmfx: remove unnecessary CONFIG_PM_SLEEP
Date: Fri, 30 Oct 2020 06:36:26 +0800	[thread overview]
Message-ID: <202010300636.N2u2UrXs-lkp@intel.com> (raw)
In-Reply-To: <20201029100647.233361-6-coiby.xu@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5393 bytes --]

Hi Coiby,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on lee-mfd/for-mfd-next]
[also build test ERROR on chanwoo-extcon/extcon-next v5.10-rc1 next-20201029]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Coiby-Xu/mfd-maxim-remove-unnecessary-CONFIG_PM_SLEEP/20201029-180931
base:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
config: s390-allyesconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/af64db6e5065ea1b51445005e0e675f8a49db5ec
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Coiby-Xu/mfd-maxim-remove-unnecessary-CONFIG_PM_SLEEP/20201029-180931
        git checkout af64db6e5065ea1b51445005e0e675f8a49db5ec
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/mfd/stmfx.c: In function 'stmfx_suspend':
>> drivers/mfd/stmfx.c:478:16: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     478 |          &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                ^~
   drivers/mfd/stmfx.c:478:43: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     478 |          &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                                           ^~
>> drivers/mfd/stmfx.c:483:16: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     483 |          &stmfx->bkp_irqoutpin,
         |                ^~
   drivers/mfd/stmfx.c:484:22: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     484 |          sizeof(stmfx->bkp_irqoutpin));
         |                      ^~
   drivers/mfd/stmfx.c: In function 'stmfx_resume':
   drivers/mfd/stmfx.c:518:17: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     518 |           &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                 ^~
   drivers/mfd/stmfx.c:518:44: error: 'struct stmfx' has no member named 'bkp_sysctrl'
     518 |           &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
         |                                            ^~
   drivers/mfd/stmfx.c:523:17: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     523 |           &stmfx->bkp_irqoutpin,
         |                 ^~
   drivers/mfd/stmfx.c:524:23: error: 'struct stmfx' has no member named 'bkp_irqoutpin'
     524 |           sizeof(stmfx->bkp_irqoutpin));
         |                       ^~
   At top level:
   drivers/mfd/stmfx.c:496:12: warning: 'stmfx_resume' defined but not used [-Wunused-function]
     496 | static int stmfx_resume(struct device *dev)
         |            ^~~~~~~~~~~~
   drivers/mfd/stmfx.c:472:12: warning: 'stmfx_suspend' defined but not used [-Wunused-function]
     472 | static int stmfx_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~

vim +478 drivers/mfd/stmfx.c

06252ade9156657 Amelie Delaunay 2019-05-09  471  
06252ade9156657 Amelie Delaunay 2019-05-09  472  static int stmfx_suspend(struct device *dev)
06252ade9156657 Amelie Delaunay 2019-05-09  473  {
06252ade9156657 Amelie Delaunay 2019-05-09  474  	struct stmfx *stmfx = dev_get_drvdata(dev);
06252ade9156657 Amelie Delaunay 2019-05-09  475  	int ret;
06252ade9156657 Amelie Delaunay 2019-05-09  476  
06252ade9156657 Amelie Delaunay 2019-05-09  477  	ret = regmap_raw_read(stmfx->map, STMFX_REG_SYS_CTRL,
06252ade9156657 Amelie Delaunay 2019-05-09 @478  			      &stmfx->bkp_sysctrl, sizeof(stmfx->bkp_sysctrl));
06252ade9156657 Amelie Delaunay 2019-05-09  479  	if (ret)
06252ade9156657 Amelie Delaunay 2019-05-09  480  		return ret;
06252ade9156657 Amelie Delaunay 2019-05-09  481  
06252ade9156657 Amelie Delaunay 2019-05-09  482  	ret = regmap_raw_read(stmfx->map, STMFX_REG_IRQ_OUT_PIN,
06252ade9156657 Amelie Delaunay 2019-05-09 @483  			      &stmfx->bkp_irqoutpin,
06252ade9156657 Amelie Delaunay 2019-05-09  484  			      sizeof(stmfx->bkp_irqoutpin));
06252ade9156657 Amelie Delaunay 2019-05-09  485  	if (ret)
06252ade9156657 Amelie Delaunay 2019-05-09  486  		return ret;
06252ade9156657 Amelie Delaunay 2019-05-09  487  
97eda5dcc2cde5d Amelie Delaunay 2020-04-22  488  	disable_irq(stmfx->irq);
97eda5dcc2cde5d Amelie Delaunay 2020-04-22  489  
06252ade9156657 Amelie Delaunay 2019-05-09  490  	if (stmfx->vdd)
06252ade9156657 Amelie Delaunay 2019-05-09  491  		return regulator_disable(stmfx->vdd);
06252ade9156657 Amelie Delaunay 2019-05-09  492  
06252ade9156657 Amelie Delaunay 2019-05-09  493  	return 0;
06252ade9156657 Amelie Delaunay 2019-05-09  494  }
06252ade9156657 Amelie Delaunay 2019-05-09  495  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 63298 bytes --]

  reply	other threads:[~2020-10-29 22:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-29 10:06 [PATCH 1/9] mfd: maxim: remove unnecessary CONFIG_PM_SLEEP Coiby Xu
2020-10-29 10:06 ` [PATCH 2/9] mfd: motorola-cpcap: " Coiby Xu
2020-10-29 10:06 ` [PATCH 3/9] mfd: intel_soc_pmic: " Coiby Xu
2020-10-29 11:00   ` Andy Shevchenko
2020-10-29 14:29     ` Coiby Xu
2020-10-29 15:27       ` Lee Jones
2020-10-29 17:04         ` Andy Shevchenko
2020-10-30 14:22           ` Coiby Xu
2020-10-30 14:34             ` Andy Shevchenko
2020-11-02  8:39           ` Lee Jones
2020-11-02 10:26             ` Andy Shevchenko
2020-11-02 10:51               ` Lee Jones
2020-10-29 10:06 ` [PATCH 4/9] mfd: max77620: " Coiby Xu
2020-10-29 10:06 ` [PATCH 5/9] mfd: stpmic1: " Coiby Xu
2020-10-29 10:06 ` [PATCH 6/9] mfd: stmfx: " Coiby Xu
2020-10-29 10:06   ` Coiby Xu
2020-10-29 22:36   ` kernel test robot [this message]
2020-10-29 22:36     ` kernel test robot
2020-10-29 10:06 ` [PATCH 7/9] mfd: sec: " Coiby Xu
2020-10-29 10:06 ` [PATCH 8/9] mfd: max14577: " Coiby Xu
2020-10-29 10:06 ` [PATCH 9/9] mfd: sprd-sc27xx-spi: " Coiby Xu
2020-10-30  4:02   ` Chunyan Zhang
2020-10-30 14:53     ` Coiby Xu
2020-10-29 18:32 ` [PATCH 1/9] mfd: maxim: " Krzysztof Kozlowski
2020-10-30 15:01   ` Coiby Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202010300636.N2u2UrXs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexandre.torgue@st.com \
    --cc=coiby.xu@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcoquelin.stm32@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.