tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6ba8a227fd19d19779005fb66ad7562608e1df83 commit: 91a0192e90e9df40d4b63c4ce11126114ed5d79d [7942/12152] gpio: pcf857x: Get rid of legacy platform data config: arm-randconfig-r034-20230210 (https://download.01.org/0day-ci/archive/20230211/202302111818.Oiz9M6EM-lkp@xxxxxxxxx/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project db0e6591612b53910a1b366863348bdb9d7d2fb1) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=91a0192e90e9df40d4b63c4ce11126114ed5d79d git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 91a0192e90e9df40d4b63c4ce11126114ed5d79d # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Link: https://lore.kernel.org/oe-kbuild-all/202302111818.Oiz9M6EM-lkp@xxxxxxxxx/ Note: the linux-next/master HEAD 6ba8a227fd19d19779005fb66ad7562608e1df83 builds fine. It may have been fixed somewhere. All errors (new ones prefixed by >>): >> arch/arm/mach-pxa/balloon3.c:26:10: fatal error: 'linux/platform_data/pcf857x.h' file not found #include <linux/platform_data/pcf857x.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. vim +26 arch/arm/mach-pxa/balloon3.c b6480faeee2348 Wolfram Sang 2017-05-21 @26 #include <linux/platform_data/pcf857x.h> f15fc9b12286f6 Wolfram Sang 2017-11-13 27 #include <linux/platform_data/i2c-pxa.h> c7921bb32ab616 Boris Brezillon 2018-09-07 28 #include <linux/mtd/platnand.h> e6a8ef54774fb0 Marek Vasut 2010-07-28 29 #include <linux/mtd/physmap.h> 3a27f6e0a164bd Marek Vasut 2010-07-28 30 #include <linux/regulator/max1586.h> 2a23ec3679d84a Jonathan McDowell 2009-07-04 31 :::::: The code at line 26 was first introduced by commit :::::: b6480faeee234829b315168aebcb281ecf95f178 gpio: pcf857x: move header file out of I2C realm :::::: TO: Wolfram Sang <wsa@xxxxxxxxxxxxx> :::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests