[linux-review:Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036 9489/9695] arch/arm/include/asm/glue-cache.h:133:20: error: storage class specified for parameter 'nop_flush_icache_all'

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

 



Hi Minchan,

[auto build test ERROR on v4.3-rc6-108-gce1fad2 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036
config: arm-allnoconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All error/warnings (new ones prefixed by >>):

   In file included from init/main.c:50:0:
   include/linux/rmap.h:274:1: error: expected declaration specifiers or '...' before '{' token
    {
    ^
   In file included from include/linux/highmem.h:8:0,
                    from include/linux/pagemap.h:10,
                    from include/linux/mempolicy.h:14,
                    from init/main.c:51:
   include/linux/uaccess.h:88:13: error: storage class specified for parameter '__probe_kernel_read'
    extern long __probe_kernel_read(void *dst, const void *src, size_t size);
                ^
   include/linux/uaccess.h:99:21: error: storage class specified for parameter 'probe_kernel_write'
    extern long notrace probe_kernel_write(void *dst, const void *src, size_t size);
                        ^
   include/linux/uaccess.h:99:21: error: 'no_instrument_function' attribute applies only to functions
   include/linux/uaccess.h:100:21: error: storage class specified for parameter '__probe_kernel_write'
    extern long notrace __probe_kernel_write(void *dst, const void *src, size_t size);
                        ^
   include/linux/uaccess.h:100:21: error: 'no_instrument_function' attribute applies only to functions
   include/linux/uaccess.h:102:13: error: storage class specified for parameter 'strncpy_from_unsafe'
    extern long strncpy_from_unsafe(char *dst, const void *unsafe_addr, long count);
                ^
   In file included from arch/arm/include/asm/cacheflush.h:15:0,
                    from include/linux/highmem.h:11,
                    from include/linux/pagemap.h:10,
                    from include/linux/mempolicy.h:14,
                    from init/main.c:51:
>> arch/arm/include/asm/glue-cache.h:133:20: error: storage class specified for parameter 'nop_flush_icache_all'
    static inline void nop_flush_icache_all(void) { }
                       ^
>> arch/arm/include/asm/glue-cache.h:133:20: warning: parameter 'nop_flush_icache_all' declared 'inline'
>> arch/arm/include/asm/glue-cache.h:133:1: warning: 'always_inline' attribute ignored [-Wattributes]
    static inline void nop_flush_icache_all(void) { }
    ^
>> arch/arm/include/asm/glue-cache.h:133:20: error: 'no_instrument_function' attribute applies only to functions
    static inline void nop_flush_icache_all(void) { }
                       ^
>> arch/arm/include/asm/glue-cache.h:133:47: error: expected ';', ',' or ')' before '{' token
    static inline void nop_flush_icache_all(void) { }
                                                  ^

vim +/nop_flush_icache_all +133 arch/arm/include/asm/glue-cache.h

a67e1ce1 Russell King    2012-09-02  117  # endif
753790e7 Russell King    2011-02-06  118  #endif
753790e7 Russell King    2011-02-06  119  
55bdd694 Catalin Marinas 2010-05-21  120  #if defined(CONFIG_CPU_V7M)
55bdd694 Catalin Marinas 2010-05-21  121  # ifdef _CACHE
55bdd694 Catalin Marinas 2010-05-21  122  #  define MULTI_CACHE 1
55bdd694 Catalin Marinas 2010-05-21  123  # else
55bdd694 Catalin Marinas 2010-05-21  124  #  define _CACHE nop
55bdd694 Catalin Marinas 2010-05-21  125  # endif
55bdd694 Catalin Marinas 2010-05-21  126  #endif
55bdd694 Catalin Marinas 2010-05-21  127  
753790e7 Russell King    2011-02-06  128  #if !defined(_CACHE) && !defined(MULTI_CACHE)
25985edc Lucas De Marchi 2011-03-30  129  #error Unknown cache maintenance model
753790e7 Russell King    2011-02-06  130  #endif
753790e7 Russell King    2011-02-06  131  
55bdd694 Catalin Marinas 2010-05-21  132  #ifndef __ASSEMBLER__
76ae0382 Behan Webster   2013-09-03 @133  static inline void nop_flush_icache_all(void) { }
76ae0382 Behan Webster   2013-09-03  134  static inline void nop_flush_kern_cache_all(void) { }
76ae0382 Behan Webster   2013-09-03  135  static inline void nop_flush_kern_cache_louis(void) { }
76ae0382 Behan Webster   2013-09-03  136  static inline void nop_flush_user_cache_all(void) { }
76ae0382 Behan Webster   2013-09-03  137  static inline void nop_flush_user_cache_range(unsigned long a,
55bdd694 Catalin Marinas 2010-05-21  138  		unsigned long b, unsigned int c) { }
55bdd694 Catalin Marinas 2010-05-21  139  
76ae0382 Behan Webster   2013-09-03  140  static inline void nop_coherent_kern_range(unsigned long a, unsigned long b) { }
76ae0382 Behan Webster   2013-09-03  141  static inline int nop_coherent_user_range(unsigned long a,

:::::: The code at line 133 was first introduced by commit
:::::: 76ae03828756bac2c1fa2c7eff7485e5f815dbdb ARM: LLVMLinux: Change "extern inline" to "static inline" in glue-cache.h

:::::: TO: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>
:::::: CC: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]