llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [mingo-tip:sched/headers 1453/2579] arch/mips/vdso/genvdso.c:21:10: fatal error: 'linux/mm_api.h' file not found
@ 2022-04-21  6:40 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-21  6:40 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: llvm, kbuild-all, linux-kernel

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head:   49e1ec6c70a6eb4b7de9250a455b8b63eb42afbe
commit: 4eb7f06cbb9a0539016473ab509c83b5c9c50127 [1453/2579] headers/deps: Add header dependencies to .c files: <linux/mm_api.h>
config: mips-randconfig-r026-20220419 (https://download.01.org/0day-ci/archive/20220420/202204202323.l1gSemNN-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project c1c49a356162b22554088d269f7689bdb044a9f1)
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 mips cross compiling tool for clang build
        # apt-get install binutils-mips-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git/commit/?id=4eb7f06cbb9a0539016473ab509c83b5c9c50127
        git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
        git fetch --no-tags mingo-tip sched/headers
        git checkout 4eb7f06cbb9a0539016473ab509c83b5c9c50127
        # 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=mips SHELL=/bin/bash arch/mips/kernel/ arch/mips/vdso/ drivers/media/tuners/ drivers/rtc/ kernel/ lib/

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 >>):

>> arch/mips/vdso/genvdso.c:21:10: fatal error: 'linux/mm_api.h' file not found
   #include <linux/mm_api.h>
            ^~~~~~~~~~~~~~~~
   1 error generated.


vim +21 arch/mips/vdso/genvdso.c

  > 21	#include <linux/mm_api.h>
    22	#include <sys/mman.h>
    23	#include <sys/stat.h>
    24	#include <sys/types.h>
    25	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-21  6:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-21  6:40 [mingo-tip:sched/headers 1453/2579] arch/mips/vdso/genvdso.c:21:10: fatal error: 'linux/mm_api.h' file not found kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).