linux/arch/sparc/mm
Orlando Arias deba804c90 sparc: Fix -Wstringop-overflow warning
Greetings,

GCC 7 introduced the -Wstringop-overflow flag to detect buffer overflows
in calls to string handling functions [1][2]. Due to the way
``empty_zero_page'' is declared in arch/sparc/include/setup.h, this
causes a warning to trigger at compile time in the function mem_init(),
which is subsequently converted to an error. The ensuing patch fixes
this issue and aligns the declaration of empty_zero_page to that of
other architectures. Thank you.

Cheers,
Orlando.

[1] https://gcc.gnu.org/ml/gcc-patches/2016-10/msg02308.html
[2] https://gcc.gnu.org/gcc-7/changes.html

Signed-off-by: Orlando Arias <oarias@knights.ucf.edu>

--------------------------------------------------------------------------------
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-17 12:07:46 -07:00
..
extable.c sparc: migrate exception table users onto extable.h 2017-01-26 10:58:13 -05:00
fault_32.c mm: do not pass mm_struct into handle_mm_fault 2016-07-26 16:19:19 -07:00
fault_64.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
gup.c mm: replace get_user_pages_unlocked() write/force parameters with gup_flags 2016-10-18 14:13:37 -07:00
highmem.c
hugetlbpage.c sparc64: Fix hugepage page table free 2017-04-18 13:11:07 -07:00
hypersparc.S
init_32.c sparc: Fix -Wstringop-overflow warning 2017-05-17 12:07:46 -07:00
init_64.c sparc64: kern_addr_valid regression 2017-03-27 21:20:23 -07:00
init_64.h
io-unit.c sparc32: fix build with STRICT_MM_TYPECHECKS 2016-05-20 17:55:42 -07:00
iommu.c
leon_mm.c
Makefile
mm_32.h
srmmu_access.S
srmmu.c sparc32: Export vac_cache_size to fix build error 2017-04-06 12:03:30 -07:00
swift.S
tlb.c sparc64: Fix memory corruption when THP is enabled 2017-04-06 12:03:30 -07:00
tsb.c sparc64: Fix memory corruption when THP is enabled 2017-04-06 12:03:30 -07:00
tsunami.S
ultra.S sparc64: Handle extremely large kernel TLB range flushes more gracefully. 2016-10-27 09:11:05 -07:00
viking.S