aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/qcom-timer.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2018-02-02 15:59:40 +0100
committerJason Wessel <[email protected]>2018-02-04 21:29:53 -0600
commit2cf2f0d5b91fd1b06a6ae260462fc7945ea84add (patch)
treec1fdfd0cd8967578b8e19ecc11ed3d7037f5e757 /drivers/clocksource/qcom-timer.c
parent40b90efeae9be8702d387dbcbb3aadc57033d4db (diff)
kdb: use memmove instead of overlapping memcpy
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 <[email protected]> Signed-off-by: Jason Wessel <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions