tree:
https://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git
devfreq-testing-exynos-interconnect
head: 9210fff017f663bfbc2384e50280bffa401db89e
commit: 25812216042fd6c2015615d8468bf80f5993e449 [9/12] interconnect: Add generic
interconnect driver for Exynos SoCs
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-exynos-interconnect
git checkout 25812216042fd6c2015615d8468bf80f5993e449
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/interconnect/exynos/exynos.c: In function 'exynos_icc_get_parent':
> drivers/interconnect/exynos/exynos.c:46:9: error: assignment to
'struct icc_node *' from incompatible pointer type 'struct icc_node_data
*' [-Werror=incompatible-pointer-types]
46 | icc_np =
of_icc_get_from_provider(&args);
| ^
cc1: some warnings being treated as errors
vim +46 drivers/interconnect/exynos/exynos.c
29
30 static struct icc_node *exynos_icc_get_parent(struct device_node *np)
31 {
32 struct of_phandle_args args;
33 struct icc_node *icc_np;
34 int num, ret;
35
36 num = of_count_phandle_with_args(np, "samsung,interconnect-parent",
37 "#interconnect-cells");
38 if (num != 1)
39 return NULL; /* parent nodes are optional */
40
41 ret = of_parse_phandle_with_args(np, "samsung,interconnect-parent",
42 "#interconnect-cells", 0, &args);
43 if (ret < 0)
44 return ERR_PTR(ret);
45
46 icc_np = of_icc_get_from_provider(&args);
47 of_node_put(args.np);
48
49 return icc_np;
50 }
51
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org