[cip:linux-4.4.y-cip-rebase 1830/2766] include/linux/kasan.h:14:10: fatal error: asm/kasan.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/cip/linux-cip.git linux-4.4.y-cip-rebase
head:   a1ba69950787dfcb1e5268dc14233e12f2861076
commit: 4dfb37ff6229e10facb903c5aa2a1966b930facf [1830/2766] arm: mm: support ARCH_MMAP_RND_BITS
config: arm-randconfig-001-20240203 (https://download.01.org/0day-ci/archive/20240204/202402041032.z998S1g8-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240204/202402041032.z998S1g8-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202402041032.z998S1g8-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   In file included from include/linux/nodemask.h:92:0,
                    from include/linux/mmzone.h:16,
                    from include/linux/gfp.h:5,
                    from include/linux/kmod.h:22,
                    from include/linux/module.h:13,
                    from drivers/mfd/tps6105x.c:16:
   include/linux/bitmap.h: In function 'bitmap_empty':
   include/linux/bitmap.h:300:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     return find_first_bit(src, nbits) == nbits;
                                       ^~
   include/linux/bitmap.h: In function 'bitmap_full':
   include/linux/bitmap.h:308:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     return find_first_zero_bit(src, nbits) == nbits;
                                            ^~
   In file included from include/linux/slab.h:107:0,
                    from drivers/mfd/tps6105x.c:22:
   include/linux/kasan.h: At top level:
>> include/linux/kasan.h:14:10: fatal error: asm/kasan.h: No such file or directory
    #include <asm/kasan.h>
             ^~~~~~~~~~~~~
   compilation terminated.
--
   In file included from include/linux/nodemask.h:92:0,
                    from include/linux/mmzone.h:16,
                    from include/linux/gfp.h:5,
                    from include/linux/kmod.h:22,
                    from include/linux/module.h:13,
                    from drivers/mfd/wm8350-i2c.c:16:
   include/linux/bitmap.h: In function 'bitmap_empty':
   include/linux/bitmap.h:300:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     return find_first_bit(src, nbits) == nbits;
                                       ^~
   include/linux/bitmap.h: In function 'bitmap_full':
   include/linux/bitmap.h:308:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     return find_first_zero_bit(src, nbits) == nbits;
                                            ^~
   In file included from include/linux/writeback.h:192:0,
                    from include/linux/memcontrol.h:30,
                    from include/linux/swap.h:8,
                    from include/linux/suspend.h:4,
                    from include/linux/regulator/machine.h:19,
                    from include/linux/mfd/wm8350/pmic.h:18,
                    from include/linux/mfd/wm8350/core.h:24,
                    from drivers/mfd/wm8350-i2c.c:22:
   include/linux/bio.h: In function 'bio_next_split':
   include/linux/bio.h:424:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (sectors >= bio_sectors(bio))
                 ^~
   In file included from include/linux/slab.h:107:0,
                    from drivers/mfd/wm8350-i2c.c:24:
   include/linux/kasan.h: At top level:
>> include/linux/kasan.h:14:10: fatal error: asm/kasan.h: No such file or directory
    #include <asm/kasan.h>
             ^~~~~~~~~~~~~
   compilation terminated.


vim +14 include/linux/kasan.h

0b24becc810dc3 Andrey Ryabinin 2015-02-13  13  
0b24becc810dc3 Andrey Ryabinin 2015-02-13 @14  #include <asm/kasan.h>
69786cdb379bbc Andrey Ryabinin 2015-08-13  15  #include <asm/pgtable.h>
0b24becc810dc3 Andrey Ryabinin 2015-02-13  16  #include <linux/sched.h>
0b24becc810dc3 Andrey Ryabinin 2015-02-13  17  

:::::: The code at line 14 was first introduced by commit
:::::: 0b24becc810dc3be6e3f94103a866f214c282394 kasan: add kernel address sanitizer infrastructure

:::::: TO: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[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