summaryrefslogtreecommitdiff
path: root/arch/sparc/mm/tsunami.S
diff options
context:
space:
mode:
authorOrlando Arias <oarias@knights.ucf.edu>2017-05-16 22:34:00 +0300
committerDavid S. Miller <davem@davemloft.net>2017-05-17 22:07:46 +0300
commitdeba804c90642c8ed0f15ac1083663976d578f54 (patch)
tree90881a5181651c09e8fd8ceb9d62eb65bf556008 /arch/sparc/mm/tsunami.S
parentb6c41cb050d5debc7e4eaa0a81cbdbad72588891 (diff)
downloadlinux-deba804c90642c8ed0f15ac1083663976d578f54.tar.xz
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>
Diffstat (limited to 'arch/sparc/mm/tsunami.S')
0 files changed, 0 insertions, 0 deletions