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: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: Thu, 22 Oct 2015 07:40:48 +0800 [thread overview]
Message-ID: <201510220743.Fkkq0XXb%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4638 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/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@uclinux.org>
:::::: CC: Greg Ungerer <gerg@uclinux.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: 7232 bytes --]
reply other threads:[~2015-10-21 23:37 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=201510220743.Fkkq0XXb%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