| From | Josh Poimboeuf <> | Subject | [PATCH v4 57/57] mm: re-enable gcc frame address warning | Date | Thu, 18 Aug 2016 08:06:37 -0500 |
| |
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
|