diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-11-14 20:48:44 -0600 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2021-11-14 18:59:49 -0800 |
commit | 158ea2d2b2ff8fb49f39209a31b4920f13193a3d (patch) | |
tree | f5544770da5597c67196d6ca5c2c09ffca92f738 /kernel/umh.c | |
parent | fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf (diff) | |
download | lwn-158ea2d2b2ff8fb49f39209a31b4920f13193a3d.tar.gz lwn-158ea2d2b2ff8fb49f39209a31b4920f13193a3d.zip |
kbuild: Fix -Wimplicit-fallthrough=5 error for GCC 5.x and 6.x
-Wimplicit-fallthrough=5 was under cc-option because it was only
available in GCC 7.x and newer so the build is now broken for GCC 5.x
and 6.x:
gcc: error: unrecognized command line option '-Wimplicit-fallthrough=5';
did you mean '-Wno-fallthrough'?
Fix this by moving -Wimplicit-fallthrough=5 under cc-option.
Fixes: dee2b702bcf0 ("kconfig: Add support for -Wimplicit-fallthrough")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Co-developed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/umh.c')
0 files changed, 0 insertions, 0 deletions