Re: [patch 21/78] kasan: split out shadow.c from common.c

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

 



Hi Andrew,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to mmotm/master arm64/for-next/core kvm/linux-next hnaz-linux-mm/master v5.10 next-20201222]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Andrew-Morton/mm-memcg-bail-early-from-swap-accounting-if-memcg-disabled/20201219-070247
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3644e2d2dda78e21edd8f5415b6d7ab03f5f54f3
config: powerpc64-randconfig-r023-20201217 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cee1e7d14f4628d6174b33640d502bff3b54ae45)
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 powerpc64 cross compiling tool for clang build
        # apt-get install binutils-powerpc64-linux-gnu
        # https://github.com/0day-ci/linux/commit/a9dd3c7e7e03d1caf5a0235f2bbba3b8dd2e6579
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Andrew-Morton/mm-memcg-bail-early-from-swap-accounting-if-memcg-disabled/20201219-070247
        git checkout a9dd3c7e7e03d1caf5a0235f2bbba3b8dd2e6579
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64 

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

All errors (new ones prefixed by >>):

>> mm/kasan/shadow.c:16:10: fatal error: 'linux/kfence.h' file not found
   #include <linux/kfence.h>
            ^~~~~~~~~~~~~~~~
   1 error generated.


vim +16 mm/kasan/shadow.c

  > 16	#include <linux/kfence.h>
    17	#include <linux/kmemleak.h>
    18	#include <linux/memory.h>
    19	#include <linux/mm.h>
    20	#include <linux/string.h>
    21	#include <linux/types.h>
    22	#include <linux/vmalloc.h>
    23	

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

Attachment: .config.gz
Description: application/gzip


[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