From: Michal Hocko <mhocko@suse.cz>
To: kbuild test robot <fengguang.wu@intel.com>
Cc: Eric B Munson <emunson@akamai.com>,
kbuild-all@01.org, Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [memcg:since-4.2 242/301] include/uapi/asm-generic/unistd.h:713:1: error: array index in initializer exceeds array bounds
Date: Mon, 14 Sep 2015 11:41:11 +0200 [thread overview]
Message-ID: <20150914094111.GC7050@dhcp22.suse.cz> (raw)
In-Reply-To: <201509122057.ogijChwU%fengguang.wu@intel.com>
On Sat 12-09-15 20:22:58, Wu Fengguang wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git since-4.2
> head: 62799b075621cec2d2a777837187a2885ccd977e
> commit: ad2ff3822c558e410ca3f4bd6ed9f0ea18c59e58 [242/301] mm: mlock: add new mlock system call
> config: openrisc-or1ksim_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
> git checkout ad2ff3822c558e410ca3f4bd6ed9f0ea18c59e58
> # save the attached .config to linux build tree
> make.cross ARCH=openrisc
>
> All error/warnings (new ones prefixed by >>):
>
> In file included from include/asm-generic/unistd.h:1:0,
> from arch/openrisc/include/uapi/asm/unistd.h:26,
> from arch/openrisc/kernel/sys_call_table.c:27:
> >> include/uapi/asm-generic/unistd.h:713:1: error: array index in initializer exceeds array bounds
> include/uapi/asm-generic/unistd.h:713:1: error: (near initialization for 'sys_call_table')
>
> vim +713 include/uapi/asm-generic/unistd.h
>
> 707 __SYSCALL(__NR_memfd_create, sys_memfd_create)
> 708 #define __NR_bpf 280
> 709 __SYSCALL(__NR_bpf, sys_bpf)
> 710 #define __NR_execveat 281
> 711 __SC_COMP(__NR_execveat, sys_execveat, compat_sys_execveat)
> 712 #define __NR_mlock2 283
> > 713 __SYSCALL(__NR_mlock2, sys_mlock2)
> 714
> 715 #undef __NR_syscalls
> 716 #define __NR_syscalls 283
My fault! I have misapplied the patch. Thanks for catching this up.
Pushed to my tree.
---
prev parent reply other threads:[~2015-09-14 9:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-12 12:22 [memcg:since-4.2 242/301] include/uapi/asm-generic/unistd.h:713:1: error: array index in initializer exceeds array bounds kbuild test robot
2015-09-14 9:41 ` Michal Hocko [this message]
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=20150914094111.GC7050@dhcp22.suse.cz \
--to=mhocko@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=emunson@akamai.com \
--cc=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.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;
as well as URLs for NNTP newsgroup(s).