linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Minchan Kim <minchan@kernel.org>
Cc: kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [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: Wed, 21 Oct 2015 21:58:41 +0800	[thread overview]
Message-ID: <201510212137.8OTSsdNl%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5441 bytes --]

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@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 9979 bytes --]

                 reply	other threads:[~2015-10-21 14:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201510212137.8OTSsdNl%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=minchan@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox