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
..
2016-01-12 20:46:58 +02:00
2016-07-24 06:33:29 +03:00
2015-08-17 07:33:39 +03:00
2014-01-15 00:28:11 +04:00
2017-06-20 11:13:07 +02:00
2011-03-31 11:26:23 -03:00
2013-02-23 19:35:57 -08:00
2017-06-05 16:53:10 -07:00
2017-12-16 22:37:12 -08:00
2017-12-16 22:37:12 -08:00
2017-12-16 22:37:10 -08:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:58 -08:00
2017-12-16 22:37:10 -08:00
2014-01-15 00:27:03 +04:00
2017-12-16 22:37:12 -08:00
2014-01-14 10:19:59 -08:00
2018-01-02 03:25:41 -08:00
2017-12-16 22:37:09 -08:00