[linux-review:Tycho-Andersen/seccomp-ptrace-add-support-for-dumping-seccomp-filters/20151022-043958 9489/9695] arch/m68k/include/asm/cacheflush_no.h:33:20: error: storage class specified for parameter '__clear_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/Tycho-Andersen/seccomp-ptrace-add-support-for-dumping-seccomp-filters/20151022-043958
config: m68k-m5407c3_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=m68k 

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/m68k/include/asm/cacheflush.h:2: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/m68k/include/asm/cacheflush_no.h:33:20: error: storage class specified for parameter '__clear_cache_all'
    static inline void __clear_cache_all(void)
                       ^
>> arch/m68k/include/asm/cacheflush_no.h:33:20: warning: parameter '__clear_cache_all' declared 'inline'
>> arch/m68k/include/asm/cacheflush_no.h:34:1: warning: 'always_inline' attribute ignored [-Wattributes]
    {
    ^
>> arch/m68k/include/asm/cacheflush_no.h:33:20: error: 'no_instrument_function' attribute applies only to functions
    static inline void __clear_cache_all(void)
                       ^
>> arch/m68k/include/asm/cacheflush_no.h:34:1: error: expected ';', ',' or ')' before '{' token
    {
    ^

vim +/__clear_cache_all +33 arch/m68k/include/asm/cacheflush_no.h

^1da177e include/asm-m68knommu/cacheflush.h    Linus Torvalds     2005-04-16  27  	memcpy(dst, src, len)
^1da177e include/asm-m68knommu/cacheflush.h    Linus Torvalds     2005-04-16  28  #define copy_from_user_page(vma, page, vaddr, dst, src, len) \
^1da177e include/asm-m68knommu/cacheflush.h    Linus Torvalds     2005-04-16  29  	memcpy(dst, src, len)
^1da177e include/asm-m68knommu/cacheflush.h    Linus Torvalds     2005-04-16  30  
d475e3e4 arch/m68k/include/asm/cacheflush_no.h Greg Ungerer       2010-11-09  31  void mcf_cache_push(void);
d475e3e4 arch/m68k/include/asm/cacheflush_no.h Greg Ungerer       2010-11-09  32  
1744bd92 arch/m68k/include/asm/cacheflush_no.h Greg Ungerer       2012-05-02 @33  static inline void __clear_cache_all(void)
^1da177e include/asm-m68knommu/cacheflush.h    Linus Torvalds     2005-04-16 @34  {
8ce877a8 arch/m68k/include/asm/cacheflush_no.h Greg Ungerer       2010-11-09  35  #ifdef CACHE_INVALIDATE
a1a9bcb5 arch/m68k/include/asm/cacheflush_no.h Greg Ungerer       2009-01-13  36  	__asm__ __volatile__ (
300b9ff6 arch/m68k/include/asm/cacheflush_no.h Philippe De Muyter 2012-09-09  37  		"movec	%0, %%CACR\n\t"

:::::: The code at line 33 was first introduced by commit
:::::: 1744bd921cd1037f0415574e0f8a3611984ecc7c m68knommu: reorganize the no-MMU cache flushing to match m68k

:::::: TO: Greg Ungerer <gerg@xxxxxxxxxxx>
:::::: CC: Greg Ungerer <gerg@xxxxxxxxxxx>

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