summaryrefslogtreecommitdiff
path: root/Documentation/features/debug
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-02 12:00:22 +0100
committerMax Filippov <jcmvbkbc@gmail.com>2018-01-02 03:25:41 -0800
commit32bb954dbf6db98562cb4477608dc546421caaf6 (patch)
tree300f1602fa9492e0ef10a1ef03c023a0fd742614 /Documentation/features/debug
parentfed566ca44ce99ff4604e3af941049f9a6bba405 (diff)
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>
Diffstat (limited to 'Documentation/features/debug')
0 files changed, 0 insertions, 0 deletions