projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ecd05a
)
[PATCH] DAC960: use memmove for overlapping areas
author
Alexey Dobriyan
<adobriyan@gmail.com>
Wed, 11 Oct 2006 08:22:06 +0000
(
01:22
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:23 +0000
(11:14 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/DAC960.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/DAC960.h
b/drivers/block/DAC960.h
index cec539e601fefd4f9317962f405a305a8312e65c..6148073532b2951ec9172f6ea0fc069fec58baa0 100644
(file)
--- a/
drivers/block/DAC960.h
+++ b/
drivers/block/DAC960.h
@@
-4379,8
+4379,8
@@
static inline void DAC960_P_To_PD_TranslateEnquiry(void *Enquiry)
static inline void DAC960_P_To_PD_TranslateDeviceState(void *DeviceState)
{
memcpy(DeviceState + 2, DeviceState + 3, 1);
- mem
cpy
(DeviceState + 4, DeviceState + 5, 2);
- mem
cpy
(DeviceState + 6, DeviceState + 8, 4);
+ mem
move
(DeviceState + 4, DeviceState + 5, 2);
+ mem
move
(DeviceState + 6, DeviceState + 8, 4);
}
static inline