[linux-next:master 7757/13727] arch/arm/mach-davinci/board-da830-evm.c:18:10: fatal error: linux/platform_data/pcf857x.h: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   aaf70d5ad5e2b06a8050c51e278b0c3a14fabef5
commit: 91a0192e90e9df40d4b63c4ce11126114ed5d79d [7757/13727] gpio: pcf857x: Get rid of legacy platform data
config: arm-buildonly-randconfig-r003-20230222 (https://download.01.org/0day-ci/archive/20230223/202302230244.9GrTbcGc-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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://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=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 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/202302230244.9GrTbcGc-lkp@xxxxxxxxx/

Note: the linux-next/master HEAD aaf70d5ad5e2b06a8050c51e278b0c3a14fabef5 builds fine.
      It may have been fixed somewhere.

All errors (new ones prefixed by >>):

>> arch/arm/mach-davinci/board-da830-evm.c:18:10: fatal error: linux/platform_data/pcf857x.h: No such file or directory
      18 | #include <linux/platform_data/pcf857x.h>
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
--
>> arch/arm/mach-pxa/balloon3.c:26:10: fatal error: linux/platform_data/pcf857x.h: No such file or directory
      26 | #include <linux/platform_data/pcf857x.h>
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.


vim +18 arch/arm/mach-davinci/board-da830-evm.c

b6480faeee2348 Wolfram Sang        2017-05-21 @18  #include <linux/platform_data/pcf857x.h>
c70cf56252b9c1 Bartosz Golaszewski 2019-01-08  19  #include <linux/property.h>
733975a314e4dd David A. Griego     2009-09-18  20  #include <linux/mtd/mtd.h>
733975a314e4dd David A. Griego     2009-09-18  21  #include <linux/mtd/partitions.h>
16a3c8320a1946 Sekhar Nori         2011-02-24  22  #include <linux/spi/spi.h>
16a3c8320a1946 Sekhar Nori         2011-02-24  23  #include <linux/spi/flash.h>
b856671e8ce181 Philip Avinash      2013-08-18  24  #include <linux/platform_data/gpio-davinci.h>
b856671e8ce181 Philip Avinash      2013-08-18  25  #include <linux/platform_data/mtd-davinci.h>
b856671e8ce181 Philip Avinash      2013-08-18  26  #include <linux/platform_data/mtd-davinci-aemif.h>
b856671e8ce181 Philip Avinash      2013-08-18  27  #include <linux/platform_data/spi-davinci.h>
b856671e8ce181 Philip Avinash      2013-08-18  28  #include <linux/platform_data/usb-davinci.h>
aa88d25d5296b0 Bartosz Golaszewski 2018-06-28  29  #include <linux/platform_data/ti-aemif.h>
274e4c336192b3 Bartosz Golaszewski 2019-04-12  30  #include <linux/regulator/fixed.h>
40a17abc8b9844 Axel Haslam         2016-10-26  31  #include <linux/regulator/machine.h>
c85efcc60a8922 Bartosz Golaszewski 2018-11-13  32  #include <linux/nvmem-provider.h>
8593790d604c29 Mark A. Greer       2009-06-03  33  

:::::: The code at line 18 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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux