diff options
author | 2018-01-02 12:00:22 +0100 | |
---|---|---|
committer | 2018-01-02 03:25:41 -0800 | |
commit | 32bb954dbf6db98562cb4477608dc546421caaf6 (patch) | |
tree | 300f1602fa9492e0ef10a1ef03c023a0fd742614 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xtensa: print kernel sections info in mem_init (diff) | |
download | linux-dev-32bb954dbf6db98562cb4477608dc546421caaf6.tar.xz linux-dev-32bb954dbf6db98562cb4477608dc546421caaf6.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions