Hi Akash,
FYI, the error/warning still remains.
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: b966b5cf71790478be7726593d011cb085a97a94
commit: 048eb908a1f276ca0346f20a3e6e7d707dcd81f3 [2656/6900] soc: qcom-geni-se: Add
interconnect support to fix earlycon crash
config: x86_64-randconfig-a004-20200710 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
02946de3802d3bc65bc9f2eb9b8d4969b5a7add8)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 048eb908a1f276ca0346f20a3e6e7d707dcd81f3
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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 >>):
> drivers/soc/qcom/qcom-geni-se.c:819:11: error: implicit
declaration of function 'of_get_next_parent'
[-Werror,-Wimplicit-function-declaration]
parent =
of_get_next_parent(wrapper->dev->of_node);
^
> drivers/soc/qcom/qcom-geni-se.c:819:9: warning: incompatible
integer to pointer conversion assigning to 'struct device_node *' from
'int' [-Wint-conversion]
parent =
of_get_next_parent(wrapper->dev->of_node);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +/of_get_next_parent +819 drivers/soc/qcom/qcom-geni-se.c
808
809 void geni_remove_earlycon_icc_vote(void)
810 {
811 struct geni_wrapper *wrapper;
812 struct device_node *parent;
813 struct device_node *child;
814
815 if (!earlycon_wrapper)
816 return;
817
818 wrapper = earlycon_wrapper;
819 parent = of_get_next_parent(wrapper->dev->of_node);
820 for_each_child_of_node(parent, child) {
821 if (!of_device_is_compatible(child, "qcom,geni-se-qup"))
822 continue;
823 wrapper = platform_get_drvdata(of_find_device_by_node(child));
824 icc_put(wrapper->to_core.path);
825 wrapper->to_core.path = NULL;
826
827 }
828 of_node_put(parent);
829
830 earlycon_wrapper = NULL;
831 }
832 EXPORT_SYMBOL(geni_remove_earlycon_icc_vote);
833
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org