From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [glommer-memcg:slab-common/kmalloc 28/30] include/linux/slab_def.h:135:27: warning: array subscr
Date: Sat, 29 Sep 2012 06:55:44 +0000 [thread overview]
Message-ID: <20120929065544.GA26880@localhost> (raw)
In-Reply-To: <20120928102032.GA29995@localhost>
On Fri, Sep 28, 2012 at 06:17:20PM +0000, Christoph Lameter wrote:
> On Fri, 28 Sep 2012, Fengguang Wu wrote:
>
> > commit: 55a6b9f968a877c728ed6e438fa68741a7711d89 [28/30] CK1 [12/13] Common names for the array of kmalloc caches
>
> Is this issue really caused by the specified commit? I do not see how the
> patch can cause such a problem.
It should be a wrong bisection. Sorry. I checked manually and find
that the previous commit stopped early at this error:
In file included from /c/kernel-tests/src/next/include/linux/slab.h:309:0,
from /c/kernel-tests/src/next/include/linux/proc_fs.h:4,
from /c/kernel-tests/src/next/fs/proc/stat.c:6:
/c/kernel-tests/src/next/include/linux/slab_def.h: In function 'kmalloc':
/c/kernel-tests/src/next/include/linux/slab_def.h:132:13: error: 'kmalloc_dma_caches' undeclared (first use in this function)
/c/kernel-tests/src/next/include/linux/slab_def.h:132:13: note: each undeclared identifier is reported only once for each function it appears in
/c/kernel-tests/src/next/include/linux/slab_def.h:135:13: error: 'kmalloc_caches' undeclared (first use in this function)
Thus the warning was "hide" until the current commit:
In file included from /c/kernel-tests/src/next/include/linux/slab.h:314:0,
from /c/kernel-tests/src/next/include/linux/proc_fs.h:4,
from /c/kernel-tests/src/next/fs/proc/stat.c:6:
/c/kernel-tests/src/next/fs/proc/stat.c: In function 'stat_open':
/c/kernel-tests/src/next/include/linux/slab_def.h:135:27: warning: array subscript is above array bounds [-Warray-bounds]
Thanks,
Fengguang
next prev parent reply other threads:[~2012-09-29 6:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-28 10:20 [glommer-memcg:slab-common/kmalloc 28/30] include/linux/slab_def.h:135:27: warning: array subscript Fengguang Wu
2012-09-28 17:21 ` [glommer-memcg:slab-common/kmalloc 28/30] mm/slab.c:2409:14: error: 'malloc_sizes' undeclared Christoph Lameter
2012-09-28 18:17 ` [glommer-memcg:slab-common/kmalloc 28/30] include/linux/slab_def.h:135:27: warning: array subscr Christoph Lameter
2012-09-29 6:55 ` Fengguang Wu [this message]
2012-10-01 17:55 ` Christoph Lameter
2012-10-02 9:17 ` Glauber Costa
2012-10-02 18:07 ` Christoph Lameter
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=20120929065544.GA26880@localhost \
--to=fengguang.wu@intel.com \
--cc=kernel-janitors@vger.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