[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+icZUX6nj7XuvAW=njpoX_ss5C5hbLmbqtvB=WFnh=ABgHiqw@mail.gmail.com>
Date: Wed, 4 Mar 2015 07:44:53 +0100
From: Sedat Dilek <sedat.dilek@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Peter Kümmel <syntheticpp@....net>,
Michal Marek <mmarek@...e.cz>, linux-kbuild@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: linux-3.18.y: Add "kconfig: Fix warning "‘jump’ may be used uninitialized""
On Fri, Feb 6, 2015 at 4:50 PM, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
> On Fri, Feb 06, 2015 at 04:40:28PM +0100, Sedat Dilek wrote:
>> Hi,
>>
>> I see the following...
>>
>> $ yes "" | make oldconfig && make silentoldconfig </dev/null
>> HOSTCC scripts/basic/fixdep
>> HOSTCC scripts/kconfig/conf.o
>> SHIPPED scripts/kconfig/zconf.tab.c
>> SHIPPED scripts/kconfig/zconf.lex.c
>> SHIPPED scripts/kconfig/zconf.hash.c
>> HOSTCC scripts/kconfig/zconf.tab.o
>> In file included from scripts/kconfig/zconf.tab.c:2537:0:
>> scripts/kconfig/menu.c: In function ‘get_symbol_str’:
>> scripts/kconfig/menu.c:590:18: warning: ‘jump’ may be used
>> uninitialized in this function [-Wmaybe-uninitialized]
>> jump->offset = strlen(r->s);
>> ^
>> scripts/kconfig/menu.c:551:19: note: ‘jump’ was declared here
>> struct jump_key *jump;
>> ^
>> HOSTLD scripts/kconfig/conf
>> scripts/kconfig/conf --oldconfig Kconfig
>> #
>> # configuration written to .config
>> #
>> scripts/kconfig/conf --silentoldconfig Kconfig
>>
>> The fix is "kconfig: Fix warning "‘jump’ may be used uninitialized"" upstream.
>
>
> Sure, what's the git commit id of the patch in Linus's tree? That's
> annoying to me as well, thanks for reminding me about it.
>
Yesterday, I played with llvmlinux and this patch is also required for
Linux v3.10.y.
Checking for "Peter Kümmel" shows no hits.
commit 2d560306096739e2251329ab5c16059311a151b0 upstream
"kconfig: Fix warning "‘jump’ may be used uninitialized""
The patch needs some adaptation to fit.
Unfortunately, I cannot add a "3.10" to the subject-line as it is
"UTF-8-truncated" (see attached file).
Shall I resend w/ all CCs and how can I fix the subject-line?
- Sedat -
[1] http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?h=linux-3.10.y&qt=grep&q=Peter+K%C3%BCmmel
View attachment "0001-kconfig-Fix-warning-jump-may-be-used-uninitialized-3.10.patch" of type "text/x-diff" (1859 bytes)
Powered by blists - more mailing lists