Skip to content

Commit

Permalink
kbuild/etc/kbuild-kcflags: remove -Wstringop-overflow
Browse files Browse the repository at this point in the history
Do not add stringop-overflow unconditionally which is disabled by 021533194476 for gcc

	021533194476 ("Kconfig: Disable -Wstringop-overflow for GCC globally")

Signed-off-by: Philip Li <[email protected]>
  • Loading branch information
rli9 committed Feb 2, 2024
1 parent f886ac4 commit 221ca0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kbuild/etc/kbuild-kcflags
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
# [v6.6-rc1] 6d4ab2e97dcf ("extrawarn: enable format and stringop overflow warnings in W=1")
-Wformat-overflow
-Wformat-truncation
-Wstringop-overflow
# 021533194476 ("Kconfig: Disable -Wstringop-overflow for GCC globally")
# Do not add stringop-overflow unconditionally which is disabled by 021533194476 for gcc
# -Wstringop-overflow

# [v6.6-rc1] 26030cb984dd ("extrawarn: move -Wrestrict into W=1 warnings")
-Wrestrict
Expand Down

0 comments on commit 221ca0f

Please sign in to comment.