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: ia64-allmodconfig (attached as .config)
compiler: ia64-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://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=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/memory/samsung/exynos5422-dmc.c:8:
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/samsung/exynos5422-dmc.c:989:3: error: 'struct
devfreq_dev_profile' has no member named 'target'
989 | .target =
exynos5_dmc_target,
| ^~~~~~
> drivers/memory/samsung/exynos5422-dmc.c:989:2: warning: the
address of 'exynos5_dmc_target' will always evaluate as 'true' [-Waddress]
989 | .target = exynos5_dmc_target,
| ^
> drivers/memory/samsung/exynos5422-dmc.c:990:3: error: 'struct
devfreq_dev_profile' has no member named 'get_dev_status'
990 |
.get_dev_status = exynos5_dmc_get_status,
| ^~~~~~~~~~~~~~
> drivers/memory/samsung/exynos5422-dmc.c:990:20: warning: excess
elements in struct initializer
990 | .get_dev_status =
exynos5_dmc_get_status,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/memory/samsung/exynos5422-dmc.c:990:20: note: (near initialization for
'exynos5_dmc_df_profile')
> drivers/memory/samsung/exynos5422-dmc.c:991:3: error: 'struct
devfreq_dev_profile' has no member named 'get_cur_freq'
991 |
.get_cur_freq = exynos5_dmc_get_cur_freq,
| ^~~~~~~~~~~~
drivers/memory/samsung/exynos5422-dmc.c:991:18: warning: excess elements in struct
initializer
991 | .get_cur_freq = exynos5_dmc_get_cur_freq,
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/memory/samsung/exynos5422-dmc.c:991:18: note: (near initialization for
'exynos5_dmc_df_profile')
drivers/memory/samsung/exynos5422-dmc.c: In function 'exynos5_dmc_probe':
> drivers/memory/samsung/exynos5422-dmc.c:1495:25: error:
'struct devfreq_dev_profile' has no member named 'up_threshold'
1495 | exynos5_dmc_df_profile.up_threshold = 55;
| ^
> drivers/memory/samsung/exynos5422-dmc.c:1496:25: error:
'struct devfreq_dev_profile' has no member named 'down_differential'
1496 | exynos5_dmc_df_profile.down_differential = 5;
| ^
drivers/memory/samsung/exynos5422-dmc.c:1512:25: error: 'struct
devfreq_dev_profile' has no member named 'up_threshold'
1512 | exynos5_dmc_df_profile.up_threshold = 10;
| ^
drivers/memory/samsung/exynos5422-dmc.c:1513:25: error: 'struct
devfreq_dev_profile' has no member named 'down_differential'
1513 | exynos5_dmc_df_profile.down_differential = 5;
| ^
--
In file included from drivers/gpu/drm/lima/lima_devfreq.h:7,
from drivers/gpu/drm/lima/lima_device.h:14,
from drivers/gpu/drm/lima/lima_drv.c:14:
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,
| ^
In file included from drivers/gpu/drm/lima/lima_device.h:14,
from drivers/gpu/drm/lima/lima_drv.c:14:
> drivers/gpu/drm/lima/lima_devfreq.h:19:38: error: field
'gov_data' has incomplete type
19 | struct
devfreq_simple_ondemand_data gov_data;
| ^~~~~~~~
--
In file included from drivers/gpu/drm/lima/lima_devfreq.c:9:
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,
| ^
In file included from drivers/gpu/drm/lima/lima_device.h:14,
from drivers/gpu/drm/lima/lima_devfreq.c:16:
> drivers/gpu/drm/lima/lima_devfreq.h:19:38: error: field
'gov_data' has incomplete type
19 | struct
devfreq_simple_ondemand_data gov_data;
| ^~~~~~~~
> drivers/gpu/drm/lima/lima_devfreq.c:86:3: error: 'struct
devfreq_dev_profile' has no member named 'target'
86 | .target =
lima_devfreq_target,
| ^~~~~~
> drivers/gpu/drm/lima/lima_devfreq.c:86: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)'}
86 | .target = lima_devfreq_target,
| ^~~~~~~~~~~~~~~~~~~
> drivers/gpu/drm/lima/lima_devfreq.c:87:3: error: 'struct
devfreq_dev_profile' has no member named 'get_dev_status'
87 |
.get_dev_status = lima_devfreq_get_dev_status,
| ^~~~~~~~~~~~~~
> drivers/gpu/drm/lima/lima_devfreq.c:87:2: warning: the address of
'lima_devfreq_get_dev_status' will always evaluate as 'true' [-Waddress]
87 | .get_dev_status = lima_devfreq_get_dev_status,
| ^
--
In file included from drivers/gpu/drm/panfrost/panfrost_devfreq.h:7,
from drivers/gpu/drm/panfrost/panfrost_device.h:16,
from drivers/gpu/drm/panfrost/panfrost_drv.c:16:
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,
| ^
In file included from drivers/gpu/drm/panfrost/panfrost_device.h:16,
from drivers/gpu/drm/panfrost/panfrost_drv.c:16:
> drivers/gpu/drm/panfrost/panfrost_devfreq.h:19:38: error: field
'gov_data' has incomplete type
19 | struct
devfreq_simple_ondemand_data gov_data;
| ^~~~~~~~
--
In file included from drivers/gpu/drm/panfrost/panfrost_devfreq.c:5:
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,
| ^
In file included from drivers/gpu/drm/panfrost/panfrost_device.h:16,
from drivers/gpu/drm/panfrost/panfrost_devfreq.c:10:
> drivers/gpu/drm/panfrost/panfrost_devfreq.h:19:38: error: field
'gov_data' has incomplete type
19 | struct
devfreq_simple_ondemand_data gov_data;
| ^~~~~~~~
> drivers/gpu/drm/panfrost/panfrost_devfreq.c:81:3: error:
'struct devfreq_dev_profile' has no member named 'target'
81 |
.target = panfrost_devfreq_target,
| ^~~~~~
> drivers/gpu/drm/panfrost/panfrost_devfreq.c:81: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)'}
81 | .target =
panfrost_devfreq_target,
| ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/gpu/drm/panfrost/panfrost_devfreq.c:82:3: error:
'struct devfreq_dev_profile' has no member named 'get_dev_status'
82 | .get_dev_status = panfrost_devfreq_get_dev_status,
| ^~~~~~~~~~~~~~
> drivers/gpu/drm/panfrost/panfrost_devfreq.c:82:2: warning: the
address of 'panfrost_devfreq_get_dev_status' will always evaluate as
'true' [-Waddress]
82 | .get_dev_status =
panfrost_devfreq_get_dev_status,
| ^
vim +989 drivers/memory/samsung/exynos5422-dmc.c
6e7674c3c6df56 Lukasz Luba 2019-08-21 981
4c2af5ddf84b45 Krzysztof Kozlowski 2020-08-22 982 /*
6e7674c3c6df56 Lukasz Luba 2019-08-21 983 * exynos5_dmc_df_profile - Devfreq
governor's profile structure
6e7674c3c6df56 Lukasz Luba 2019-08-21 984 *
6e7674c3c6df56 Lukasz Luba 2019-08-21 985 * It provides to the devfreq
framework needed functions and polling period.
6e7674c3c6df56 Lukasz Luba 2019-08-21 986 */
6e7674c3c6df56 Lukasz Luba 2019-08-21 987 static struct devfreq_dev_profile
exynos5_dmc_df_profile = {
ae8eb8ba521c8e Chanwoo Choi 2020-07-03 988 .timer = DEVFREQ_TIMER_DELAYED,
6e7674c3c6df56 Lukasz Luba 2019-08-21 @989 .target = exynos5_dmc_target,
6e7674c3c6df56 Lukasz Luba 2019-08-21 @990 .get_dev_status =
exynos5_dmc_get_status,
6e7674c3c6df56 Lukasz Luba 2019-08-21 @991 .get_cur_freq =
exynos5_dmc_get_cur_freq,
6e7674c3c6df56 Lukasz Luba 2019-08-21 992 };
6e7674c3c6df56 Lukasz Luba 2019-08-21 993
:::::: The code at line 989 was first introduced by commit
:::::: 6e7674c3c6df565ab47d02b4f2e608e3477cdf86 memory: Add DMC driver for Exynos5422
:::::: TO: Lukasz Luba <l.luba(a)partner.samsung.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