Re: [PATCH sparc] sparc: Fix -Wstringop-overflow warning,[PATCH sparc] sparc: Fix -Wstringop-overflow warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Orlando Arias <oarias@xxxxxxxxxxxxxxx>
Date: Tue, 16 May 2017 15:34:00 -0400

> 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@xxxxxxxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux