[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202111130248.3xE2UK0N-lkp@intel.com>
Date: Sat, 13 Nov 2021 02:42:04 +0800
From: kernel test robot <lkp@...el.com>
To: Meng Li <Meng.Li@...driver.com>, peppe.cavallaro@...com,
alexandre.torgue@...s.st.com, joabreu@...opsys.com,
davem@...emloft.net, kuba@...nel.org, mcoquelin.stm32@...il.com
Cc: kbuild-all@...ts.01.org, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
meng.li@...driver.com
Subject: Re: [PATCH v2] net: stmmac: socfpga: add runtime suspend/resume
callback for stratix10 platform
Hi Meng,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.15 next-20211112]
[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/Meng-Li/net-stmmac-socfpga-add-runtime-suspend-resume-callback-for-stratix10-platform/20211112-163612
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 5833291ab6de9c3e2374336b51c814e515e8f3a5
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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/3fee8d6a97c77407e030c5831bed7924958ad53f
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Meng-Li/net-stmmac-socfpga-add-runtime-suspend-resume-callback-for-stratix10-platform/20211112-163612
git checkout 3fee8d6a97c77407e030c5831bed7924958ad53f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c:506:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration]
506 | const static struct dev_pm_ops socfpga_dwmac_pm_ops = {
| ^~~~~
vim +/static +506 drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c
505
> 506 const static struct dev_pm_ops socfpga_dwmac_pm_ops = {
507 SET_SYSTEM_SLEEP_PM_OPS(stmmac_suspend, socfpga_dwmac_resume)
508 SET_RUNTIME_PM_OPS(socfpga_dwmac_runtime_suspend, socfpga_dwmac_runtime_resume, NULL)
509 };
510
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (55696 bytes)
Powered by blists - more mailing lists