tree:
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
devfreq-testing-qcom-l2
head: 0710a546fe23fc744371ae2eaab3877a2678f647
commit: f3ff8a27ab2f41bffcc6d620e6f475a7a8822ccf [1/3] PM / devfreq: Add new up_threshold
and down_differential sysfs attrs
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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://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-qcom-l2
git checkout f3ff8a27ab2f41bffcc6d620e6f475a7a8822ccf
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm
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 >>):
In file included from drivers/memory/tegra/tegra20-emc.c:11:
include/linux/devfreq.h:117:2: error: expected specifier-qualifier-list before
'*' token
117 | * @up_threshold: If the load is over this value, the frequency jumps.
| ^
include/linux/devfreq.h:117:4: error: stray '@' in program
117 | * @up_threshold: If the load is over this value, the frequency jumps.
| ^
include/linux/devfreq.h:119:4: error: stray '@' in program
119 | * @down_differential: If the load is under upthreshold - downdifferential,
| ^
drivers/memory/tegra/tegra20-emc.c:203:38: error: field 'ondemand_data' has
incomplete type
203 | struct devfreq_simple_ondemand_data ondemand_data;
| ^~~~~~~~~~~~~
drivers/memory/tegra/tegra20-emc.c:1041:3: error: 'struct devfreq_dev_profile'
has no member named 'target'
1041 | .target = tegra_emc_devfreq_target,
| ^~~~~~
drivers/memory/tegra/tegra20-emc.c:1041:12: error: incompatible types when initializing
type 'enum devfreq_timer' using type 'int (*)(struct device *, long unsigned
int *, u32)' {aka 'int (*)(struct device *, long unsigned int *, unsigned
int)'}
1041 | .target = tegra_emc_devfreq_target,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/memory/tegra/tegra20-emc.c:1042:3: error: 'struct devfreq_dev_profile'
has no member named 'get_dev_status'
1042 | .get_dev_status = tegra_emc_devfreq_get_dev_status,
| ^~~~~~~~~~~~~~
> drivers/memory/tegra/tegra20-emc.c:1042:2: warning: the address
of 'tegra_emc_devfreq_get_dev_status' will always evaluate as 'true'
[-Waddress]
1042 | .get_dev_status = tegra_emc_devfreq_get_dev_status,
| ^
vim +1042 drivers/memory/tegra/tegra20-emc.c
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 1038
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 1039 static struct devfreq_dev_profile
tegra_emc_devfreq_profile = {
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 1040 .polling_ms = 30,
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 1041 .target = tegra_emc_devfreq_target,
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 @1042 .get_dev_status =
tegra_emc_devfreq_get_dev_status,
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 1043 };
dedf62d6f17fc9 Dmitry Osipenko 2020-11-11 1044
:::::: The code at line 1042 was first introduced by commit
:::::: dedf62d6f17fc9cf0389602b6d3d7533cc218679 memory: tegra20-emc: Add devfreq support
:::::: TO: Dmitry Osipenko <digetx(a)gmail.com>
:::::: CC: Krzysztof Kozlowski <krzk(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org