Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1465257

[PATCH v4 57/57] mm: re-enable gcc frame address warning

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject [PATCH v4 57/57] mm: re-enable gcc frame address warning
Date 2016-08-18 15:10 +0200
Message-ID <s7vf4-dJ-27@gated-at.bofh.it> (permalink)
References <s7vf3-dJ-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Now that arch_within_stack_frames()'s uses of __builtin_frame_address()
with non-zero arguments have been removed, this warning can be
re-enabled for mm code.

Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
---
 mm/Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/mm/Makefile b/mm/Makefile
index 2ca1faf..295bd7a 100644
--- a/mm/Makefile
+++ b/mm/Makefile
@@ -21,9 +21,6 @@ KCOV_INSTRUMENT_memcontrol.o := n
 KCOV_INSTRUMENT_mmzone.o := n
 KCOV_INSTRUMENT_vmstat.o := n
 
-# Since __builtin_frame_address does work as used, disable the warning.
-CFLAGS_usercopy.o += $(call cc-disable-warning, frame-address)
-
 mmu-y			:= nommu.o
 mmu-$(CONFIG_MMU)	:= gup.o highmem.o memory.o mincore.o \
 			   mlock.o mmap.o mprotect.o mremap.o msync.o rmap.o \
-- 
2.7.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 57/57] mm: re-enable gcc frame address warning Josh Poimboeuf <jpoimboe@redhat.com> - 2016-08-18 15:10 +0200

csiph-web