[andersson:wip/sm8350-next-20211118 38/52] drivers/soc/qcom/pmic_glink_pan.c:9:10: fatal error: linux/soc/qcom/pmic_glink.h: No such file or directory

kernel test robot
2022-03-11T03:57:23Z

Hi Bjorn,

FYI, the error/warning still remains.

tree: https://github.com/andersson/kernel wip/sm8350-next-20211118
head: 922cbe415e8e30b48170e281ce8d6a6638056322
commit: af2e40a7c1b6390b42af215ac19c9be35554b397 [38/52] pmic_glink: Initial patch
config: powerpc-randconfig-m031-20211207 (https://download.01.org/0day-ci/archive/20220311/202203111158.Uvr9dlrm-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 11.2.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://github.com/andersson/kernel/commit/af2e40a7c1b6390b42af215ac19c9be35554b397
git remote add andersson https://github.com/andersson/kernel
git fetch --no-tags andersson wip/sm8350-next-20211118
git checkout af2e40a7c1b6390b42af215ac19c9be35554b397
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/soc/qcom/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>):

>> drivers/soc/qcom/pmic_glink.c:44:26: warning: no previous prototype for 'pmic_glink_register_callback' [-Wmissing-prototypes]
44 | struct pmic_glink_owner *pmic_glink_register_callback(struct pmic_glink *pg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/soc/qcom/pmic_glink.c:67:6: warning: no previous prototype for 'pmic_glink_unregister_callback' [-Wmissing-prototypes]
67 | void pmic_glink_unregister_callback(struct pmic_glink *pg,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/soc/qcom/pmic_glink.c:76:5: warning: no previous prototype for 'pmic_glink_send' [-Wmissing-prototypes]
76 | int pmic_glink_send(struct pmic_glink *pg, void *data, size_t len)
| ^~~~~~~~~~~~~~~
drivers/soc/qcom/pmic_glink.c:200:34: warning: 'pmic_glink_of_match' defined but not used [-Wunused-const-variable=]
200 | static const struct of_device_id pmic_glink_of_match[] = {
| ^~~~~~~~~~~~~~~~~~~
--
>> drivers/soc/qcom/pmic_glink_pan.c:9:10: fatal error: linux/soc/qcom/pmic_glink.h: No such file or directory
9 | #include <linux/soc/qcom/pmic_glink.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

vim +9 drivers/soc/qcom/pmic_glink_pan.c

8
> 9 #include <linux/soc/qcom/pmic_glink.h>
10

---
0-DAY CI Kernel Test Service