[mmotm:master 123/234] mm/vmalloc.c:324:19: error: 'start' undeclared; did you mean 'stat'?

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

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   6f11685c34f638e200dd9e821491584ef5717d57
commit: 255a5274e402c5c255f1416340d62b968d061d7e [123/234] mm: move ioremap page table mapping function to mm/
config: nios2-10m50_defconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 255a5274e402c5c255f1416340d62b968d061d7e
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=nios2 

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

All errors (new ones prefixed by >>):

   In file included from arch/nios2/include/asm/pgtable.h:21:0,
                    from include/linux/mm.h:99,
                    from mm/vmalloc.c:13:
   mm/vmalloc.c: In function 'vmap_range':
>> mm/vmalloc.c:324:19: error: 'start' undeclared (first use in this function); did you mean 'stat'?
     flush_cache_vmap(start, end);
                      ^
   arch/nios2/include/asm/cacheflush.h:36:58: note: in definition of macro 'flush_cache_vmap'
    #define flush_cache_vmap(start, end)  flush_dcache_range(start, end)
                                                             ^~~~~
   mm/vmalloc.c:324:19: note: each undeclared identifier is reported only once for each function it appears in
     flush_cache_vmap(start, end);
                      ^
   arch/nios2/include/asm/cacheflush.h:36:58: note: in definition of macro 'flush_cache_vmap'
    #define flush_cache_vmap(start, end)  flush_dcache_range(start, end)
                                                             ^~~~~

vim +324 mm/vmalloc.c

   316	
   317	int vmap_range(unsigned long addr,
   318			       unsigned long end, phys_addr_t phys_addr, pgprot_t prot,
   319			       unsigned int max_page_shift)
   320	{
   321		int ret;
   322	
   323		ret = vmap_range_noflush(addr, end, phys_addr, prot, max_page_shift);
 > 324		flush_cache_vmap(start, end);
   325		return ret;
   326	}
   327	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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