tree:
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git devfreq-testing
head: 7d7faea0f817c76423cf3620d31e4884c259912a
commit: 0d66952a59482fa6c823e29d38ad5ddb0924ae9f [1/15] PM / devfreq: Add governor flags
to clarify the features
config: arm64-randconfig-r005-20200818 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
790878f291fa5dc58a1c560cb6cc76fd1bfd1c5a)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git checkout 0d66952a59482fa6c823e29d38ad5ddb0924ae9f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/devfreq/tegra30-devfreq.c:770:10: warning: initializer
overrides prior initialization of this subobject [-Winitializer-overrides]
.flag = DEVFREQ_GOV_FLAG_IMMUTABLE
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/devfreq/governor.h:55:38: note: expanded from macro
'DEVFREQ_GOV_FLAG_IMMUTABLE'
#define DEVFREQ_GOV_FLAG_IMMUTABLE BIT(0)
^
include/vdso/bits.h:7:19: note: expanded from macro 'BIT'
#define BIT(nr) (UL(1) << (nr))
^
drivers/devfreq/tegra30-devfreq.c:768:10: note: previous initialization is here
.flag = DEVFREQ_GOV_ATTR_COMMON
^~~~~~~~~~~~~~~~~~~~~~~
drivers/devfreq/governor.h:41:33: note: expanded from macro
'DEVFREQ_GOV_ATTR_COMMON'
#define DEVFREQ_GOV_ATTR_COMMON (DEVFREQ_GOV_ATTR_NAME \
^
1 warning generated.
#
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git/commit/...
git remote add chanwoo
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
git fetch --no-tags chanwoo devfreq-testing
git checkout 0d66952a59482fa6c823e29d38ad5ddb0924ae9f
vim +770 drivers/devfreq/tegra30-devfreq.c
765
766 static struct devfreq_governor tegra_devfreq_governor = {
767 .name = "tegra_actmon",
768 .flag = DEVFREQ_GOV_ATTR_COMMON
769 | DEVFREQ_GOV_ATTR_POLLING_INTERVAL,
770 .flag = DEVFREQ_GOV_FLAG_IMMUTABLE
771 |
DEVFREQ_GOV_FLAG_IRQ_DRIVEN,
772 .get_target_freq = tegra_governor_get_target,
773 .event_handler = tegra_governor_event_handler,
774 };
775
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org