linux-stable/scripts/kconfig
Nicolas Iooss 9be3213b14 gconfig: remove misleading parentheses around a condition
When building the kernel with clang, the compiler complains about the
presence of a condition inside two pairs of parentheses:

    scripts/kconfig/gconf.c:917:19: error: equality comparison with
    extraneous parentheses [-Werror,-Wparentheses-equality]
                    } else if ((col == COL_OPTION)) {
                                ~~~~^~~~~~~~~~~~~
    scripts/kconfig/gconf.c:917:19: note: remove extraneous parentheses
    around the comparison to silence this warning
                    } else if ((col == COL_OPTION)) {
                               ~    ^            ~
    scripts/kconfig/gconf.c:917:19: note: use '=' to turn this equality
    comparison into an assignment
                    } else if ((col == COL_OPTION)) {
                                    ^~
                                    =

Silence this warning by removing a level of parentheses.

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-03-22 02:56:33 +09:00
..
lxdialog
.gitignore
check.sh
conf.c
confdata.c kconfig: add unexpected data itself to warning 2016-05-10 17:20:19 +02:00
expr.c
expr.h Kconfig: Introduce the "imply" keyword 2016-11-16 09:26:33 +01:00
gconf.c gconfig: remove misleading parentheses around a condition 2017-03-22 02:56:33 +09:00
gconf.glade
images.c
kxgettext.c
list.h
lkc.h
lkc_proto.h
Makefile kbuild: make sure autoksyms.h exists early 2016-12-01 10:19:22 -08:00
mconf.c
menu.c Kconfig: Introduce the "imply" keyword 2016-11-16 09:26:33 +01:00
merge_config.sh
nconf.c Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning 2016-11-29 14:03:14 +01:00
nconf.gui.c kconfig/nconf: Fix hang when editing symbol with a long prompt 2016-12-11 12:26:42 +01:00
nconf.h
POTFILES.in
qconf.cc xconfig: fix missing suboption and help panels on first run 2016-12-11 21:40:54 +01:00
qconf.h
streamline_config.pl localmodconfig: Fix whitespace repeat count after "tristate" 2016-04-26 18:35:16 -04:00
symbol.c Kconfig: Introduce the "imply" keyword 2016-11-16 09:26:33 +01:00
util.c
zconf.gperf Kconfig: Introduce the "imply" keyword 2016-11-16 09:26:33 +01:00
zconf.hash.c_shipped Kconfig: Regenerate *.c_shipped files after previous changes 2016-11-16 09:26:33 +01:00
zconf.l
zconf.lex.c_shipped
zconf.tab.c_shipped Kconfig: Regenerate *.c_shipped files after previous changes 2016-11-16 09:26:33 +01:00
zconf.y Kconfig: Introduce the "imply" keyword 2016-11-16 09:26:33 +01:00