lkml.org 
[lkml]   [2021]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[andersson:wip/sm8350-next-20211118 38/48] drivers/soc/qcom/pmic_glink_pan.c:9:10: fatal error: linux/soc/qcom/pmic_glink.h: No such file or directory
tree:   https://github.com/andersson/kernel wip/sm8350-next-20211118
head: 801a35a569988584ffd5f6028a992f636c2a6634
commit: af2e40a7c1b6390b42af215ac19c9be35554b397 [38/48] pmic_glink: Initial patch
config: powerpc-randconfig-m031-20211207 (https://download.01.org/0day-ci/archive/20211207/202112071342.1DHkP3SK-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, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

\
 
 \ /
  Last update: 2021-12-07 06:17    [W:0.031 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site