linux/arch/xtensa
Arnd Bergmann 32bb954dbf xtensa: shut up gcc-8 warnings
Many uses of strncpy() on xtensa causes  a warning like

arch/xtensa/include/asm/string.h:56:42: warning: array subscript is above array bounds [-Warray-bounds]
   : "0" (__dest), "1" (__src), "r" (__src+__n)

This avoids the warning by turning the pointer arithmetic into an
integer operation that does not get checked the same way.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2018-01-02 03:25:41 -08:00
..
boot xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
configs xtensa: add default memmap and mmio32native options to defconfigs 2016-09-20 20:43:24 -07:00
include xtensa: shut up gcc-8 warnings 2018-01-02 03:25:41 -08:00
kernel xtensa: use generic strncpy_from_user with KASAN 2017-12-17 15:34:57 -08:00
lib xtensa: add support for KASAN 2017-12-16 22:37:12 -08:00
mm xtensa: print kernel sections info in mem_init 2017-12-17 15:34:58 -08:00
oprofile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
platforms xtensa: clean up custom-controlled debug output 2017-12-16 22:37:08 -08:00
variants xtensa: Added Cadence CSP kernel configuration for Xtensa 2016-09-09 18:39:09 -07:00
Kconfig xtensa: use generic strncpy_from_user with KASAN 2017-12-17 15:34:57 -08:00
Kconfig.debug License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile xtensa: build kernel with text-section-literals 2017-12-10 14:48:51 -08:00