Re: [PATCH v3 1/5] platform/x86/intel: intel_pmc_core: Move intel_pmc_core* files to pmc subfolder

From: kernel test robot
Date: Sat Jul 10 2021 - 18:25:59 EST


Hi Gayatri,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on 81361b837a3450f0a44255fddfd7a4c72502b667]

url: https://github.com/0day-ci/linux/commits/Gayatri-Kammela/Add-Alder-Lake-PCH-S-support-to-PMC-core-driver/20210711-035203
base: 81361b837a3450f0a44255fddfd7a4c72502b667
config: x86_64-randconfig-a002-20210711 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 8d69635ed9ecf36fd0ca85906bfde17949671cbe)
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
# https://github.com/0day-ci/linux/commit/034dc2f63a8d23b2704f3295d83b63c7fc7057d9
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Gayatri-Kammela/Add-Alder-Lake-PCH-S-support-to-PMC-core-driver/20210711-035203
git checkout 034dc2f63a8d23b2704f3295d83b63c7fc7057d9
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/platform/x86/intel/pmc/

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

All errors (new ones prefixed by >>):

>> drivers/platform/x86/intel/pmc/core.c:34:10: fatal error: 'intel_pmc_core.h' file not found
#include "intel_pmc_core.h"
^~~~~~~~~~~~~~~~~~
1 error generated.


vim +34 drivers/platform/x86/intel/pmc/core.c

b740d2e9233cb3 drivers/platform/x86/intel_pmc_core.c Rajneesh Bhardwaj 2016-05-26 33
b740d2e9233cb3 drivers/platform/x86/intel_pmc_core.c Rajneesh Bhardwaj 2016-05-26 @34 #include "intel_pmc_core.h"
b740d2e9233cb3 drivers/platform/x86/intel_pmc_core.c Rajneesh Bhardwaj 2016-05-26 35

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip