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


Groups > linux.kernel > #1465257 > unrolled thread

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

Started byJosh Poimboeuf <jpoimboe@redhat.com>
First post2016-08-18 15:10 +0200
Last post2016-08-18 15:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromJosh Poimboeuf <jpoimboe@redhat.com>
Date2016-08-18 15:10 +0200
Subject[PATCH v4 57/57] mm: re-enable gcc frame address warning
Message-ID<s7vf4-dJ-27@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web