forked from Minki/linux
2cf2f0d5b9
gcc discovered that the memcpy() arguments in kdbnearsym() overlap, so we should really use memmove(), which is defined to handle that correctly: In function 'memcpy', inlined from 'kdbnearsym' at /git/arm-soc/kernel/debug/kdb/kdb_support.c:132:4: /git/arm-soc/include/linux/string.h:353:9: error: '__builtin_memcpy' accessing 792 bytes at offsets 0 and 8 overlaps 784 bytes at offset 8 [-Werror=restrict] return __builtin_memcpy(p, q, size); Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> |
||
---|---|---|
.. | ||
.gitignore | ||
kdb_bp.c | ||
kdb_bt.c | ||
kdb_cmds | ||
kdb_debugger.c | ||
kdb_io.c | ||
kdb_keyboard.c | ||
kdb_main.c | ||
kdb_private.h | ||
kdb_support.c | ||
Makefile |