diff options
| author | Nicolas Iooss <[email protected]> | 2017-03-13 19:33:41 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2017-03-21 17:56:33 +0000 |
| commit | 9be3213b14d44f6328281941193d97f3b97e7d4c (patch) | |
| tree | 21bcf8f7493989531aa2dc4af56ac706f01ed4b0 /lib/syscall.c | |
| parent | jump label: fix passing kbuild_cflags when checking for asm goto support (diff) | |
| download | kernel-9be3213b14d44f6328281941193d97f3b97e7d4c.tar.gz kernel-9be3213b14d44f6328281941193d97f3b97e7d4c.zip | |
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 <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions
