All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [intel-lts:5.10/yocto 15941/17453] arch/mips/include/asm/kmap_types.h:9:10: fatal error: asm-generic/kmap_types.h: No such file or directory
Date: Tue, 26 Oct 2021 20:12:52 +0800	[thread overview]
Message-ID: <202110262038.Xyf8BA60-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2784 bytes --]

tree:   https://github.com/intel/linux-intel-lts.git 5.10/yocto
head:   f25f082bbe466a03d78d82f2b8cf73b3a3b5ae97
commit: bf7559e2f6e87896b97a308297e633e47a6669c8 [15941/17453] highmem: Get rid of kmap_types.h
config: mips-allyesconfig (attached as .config)
compiler: mips-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/intel/linux-intel-lts/commit/bf7559e2f6e87896b97a308297e633e47a6669c8
        git remote add intel-lts https://github.com/intel/linux-intel-lts.git
        git fetch --no-tags intel-lts 5.10/yocto
        git checkout bf7559e2f6e87896b97a308297e633e47a6669c8
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=mips prepare

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

All errors (new ones prefixed by >>):

   In file included from arch/mips/include/asm/fixmap.h:20,
                    from arch/mips/include/asm/pgtable-32.h:17,
                    from arch/mips/include/asm/pgtable.h:14,
                    from include/linux/pgtable.h:6,
                    from include/linux/mm.h:33,
                    from arch/mips/kernel/asm-offsets.c:15:
>> arch/mips/include/asm/kmap_types.h:9:10: fatal error: asm-generic/kmap_types.h: No such file or directory
       9 | #include <asm-generic/kmap_types.h>
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
   compilation terminated.
   make[2]: *** [scripts/Makefile.build:117: arch/mips/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1215: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.


vim +9 arch/mips/include/asm/kmap_types.h

^1da177e4c3f41 include/asm-mips/kmap_types.h      Linus Torvalds 2005-04-16   8  
e4c9dd0fbad60c arch/mips/include/asm/kmap_types.h Randy Dunlap   2009-06-16  @9  #include <asm-generic/kmap_types.h>
^1da177e4c3f41 include/asm-mips/kmap_types.h      Linus Torvalds 2005-04-16  10  

:::::: The code at line 9 was first introduced by commit
:::::: e4c9dd0fbad60c098a026e9b06d9de1bc98c5e89 kmap_types: make most arches use generic header file

:::::: TO: Randy Dunlap <randy.dunlap@oracle.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 69107 bytes --]

                 reply	other threads:[~2021-10-26 12:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110262038.Xyf8BA60-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.