Messages in this thread | | | Date | Mon, 8 Aug 2022 01:13:06 +0800 | From | kernel test robot <> | Subject | Re: [PATCH 26/28] mfd: stmpe: Remove #ifdef guards for PM related functions |
| |
Hi Paul,
I love your patch! Perhaps something to improve:
[auto build test WARNING on v5.19] [cannot apply to lee-mfd/for-mfd-next linus/master next-20220805] [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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Paul-Cercueil/mfd-Remove-ifdef-guards-for-PM-functions/20220807-225947 base: 3d7cb6b04c3f3115719235cc6866b10326de34cd config: i386-randconfig-a015 (https://download.01.org/0day-ci/archive/20220808/202208080127.BXcJl3Wk-lkp@intel.com/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 5f1c7e2cc5a3c07cbc2412e851a7283c1841f520) 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/intel-lab-lkp/linux/commit/e94df3ff809e588320625b95a2ef6485965ddc02 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Paul-Cercueil/mfd-Remove-ifdef-guards-for-PM-functions/20220807-225947 git checkout e94df3ff809e588320625b95a2ef6485965ddc02 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/mfd/
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/mfd/stmpe.c:1531:7: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] const EXPORT_GPL_SIMPLE_DEV_PM_OPS(stmpe_dev_pm_ops, ^ include/linux/pm.h:404:2: note: expanded from macro 'EXPORT_GPL_SIMPLE_DEV_PM_OPS' _EXPORT_DEV_PM_OPS(name, suspend_fn, resume_fn, NULL, NULL, NULL, "_gpl", "") ^ include/linux/pm.h:380:2: note: expanded from macro '_EXPORT_DEV_PM_OPS' _DEFINE_DEV_PM_OPS(name, suspend_fn, resume_fn, runtime_suspend_fn, \ ^ include/linux/pm.h:371:55: note: expanded from macro '_DEFINE_DEV_PM_OPS' runtime_suspend_fn, runtime_resume_fn, idle_fn) \ ^ 1 warning generated.
vim +/const +1531 drivers/mfd/stmpe.c
1530 > 1531 const EXPORT_GPL_SIMPLE_DEV_PM_OPS(stmpe_dev_pm_ops,
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |