[linux-review:Tetsuo-Handa/mm-vmscan-Use-accurate-values-for-zone_reclaimable-checks/20151021-203036 9489/9695] arch/sh/include/asm/cacheflush.h:22:15: error: storage class specified for parameter 'local_flush_cache_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: sh-rsk7269_defconfig (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=sh 

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'
   include/linux/uaccess.h:99:21: error: storage class specified for parameter 'probe_kernel_write'
   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'
   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'
   In file included from include/linux/highmem.h:11:0,
                    from include/linux/pagemap.h:10,
                    from include/linux/mempolicy.h:14,
                    from init/main.c:51:
>> arch/sh/include/asm/cacheflush.h:22:15: error: storage class specified for parameter 'local_flush_cache_all'
>> arch/sh/include/asm/cacheflush.h:23:15: error: storage class specified for parameter 'local_flush_cache_mm'
>> arch/sh/include/asm/cacheflush.h:24:15: error: storage class specified for parameter 'local_flush_cache_dup_mm'
>> arch/sh/include/asm/cacheflush.h:25:15: error: storage class specified for parameter 'local_flush_cache_page'
>> arch/sh/include/asm/cacheflush.h:26:15: error: storage class specified for parameter 'local_flush_cache_range'
>> arch/sh/include/asm/cacheflush.h:27:15: error: storage class specified for parameter 'local_flush_dcache_page'
>> arch/sh/include/asm/cacheflush.h:28:15: error: storage class specified for parameter 'local_flush_icache_range'
>> arch/sh/include/asm/cacheflush.h:29:15: error: storage class specified for parameter 'local_flush_icache_page'
>> arch/sh/include/asm/cacheflush.h:30:15: error: storage class specified for parameter 'local_flush_cache_sigtramp'
>> arch/sh/include/asm/cacheflush.h:32:20: error: storage class specified for parameter 'cache_noop'
>> arch/sh/include/asm/cacheflush.h:32:20: warning: parameter 'cache_noop' declared 'inline' [enabled by default]
>> arch/sh/include/asm/cacheflush.h:32:1: warning: 'always_inline' attribute ignored [-Wattributes]
>> arch/sh/include/asm/cacheflush.h:32:20: error: 'no_instrument_function' attribute applies only to functions
>> arch/sh/include/asm/cacheflush.h:32:43: error: expected ';', ',' or ')' before '{' token

vim +/local_flush_cache_all +22 arch/sh/include/asm/cacheflush.h

f9bd71f2 Paul Mundt 2009-08-21  16   *
f9bd71f2 Paul Mundt 2009-08-21  17   *  - flush_dcache_page(pg) flushes(wback&invalidates) a page for dcache
f9bd71f2 Paul Mundt 2009-08-21  18   *  - flush_icache_range(start, end) flushes(invalidates) a range for icache
f9bd71f2 Paul Mundt 2009-08-21  19   *  - flush_icache_page(vma, pg) flushes(invalidates) a page for icache
f9bd71f2 Paul Mundt 2009-08-21  20   *  - flush_cache_sigtramp(vaddr) flushes the signal trampoline
f9bd71f2 Paul Mundt 2009-08-21  21   */
f26b2a56 Paul Mundt 2009-08-21 @22  extern void (*local_flush_cache_all)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @23  extern void (*local_flush_cache_mm)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @24  extern void (*local_flush_cache_dup_mm)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @25  extern void (*local_flush_cache_page)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @26  extern void (*local_flush_cache_range)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @27  extern void (*local_flush_dcache_page)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @28  extern void (*local_flush_icache_range)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @29  extern void (*local_flush_icache_page)(void *args);
f26b2a56 Paul Mundt 2009-08-21 @30  extern void (*local_flush_cache_sigtramp)(void *args);
f26b2a56 Paul Mundt 2009-08-21  31  
f26b2a56 Paul Mundt 2009-08-21 @32  static inline void cache_noop(void *args) { }
f9bd71f2 Paul Mundt 2009-08-21  33  
f9bd71f2 Paul Mundt 2009-08-21  34  extern void (*__flush_wback_region)(void *start, int size);
f9bd71f2 Paul Mundt 2009-08-21  35  extern void (*__flush_purge_region)(void *start, int size);

:::::: The code at line 22 was first introduced by commit
:::::: f26b2a562b46ab186c8383993ab1332673ac4a47 sh: Make cache flushers SMP-aware.

:::::: TO: Paul Mundt <lethal@xxxxxxxxxxxx>
:::::: CC: Paul Mundt <lethal@xxxxxxxxxxxx>

---
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]