linux-3.18.y: Add "kconfig: Fix warning "âjumpâ may be used uninitialized""

From: Sedat Dilek
Date: Fri Feb 06 2015 - 10:40:35 EST


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.

Greg can you take it for next -stable cycle?

Thanks.

Regards,
- Sedat -

[1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2d560306096739e2251329ab5c16059311a151b0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/