mpc5200: Correct return value of memcpy function
PATCH 1/1 mpc5200: Correct return value of memcpy function
From: Mark Marshall <[email protected]>
The memcpy() function returns a pointer to trg.
Signed-off-by Mark Marshall <[email protected]>
Reviewed-by Thomas Graziadei <[email protected]>
--- arch/powerpc/lib/memcpy_mpc5200.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/lib/memcpy_mpc5200.c +1 -1
@@ -31,7 +31,7 @@ void *memcpy(void *trg, const void *src, size_t len)extern void *__memcpy (void *,const void *,size_t );char *s = (char *)src;char *t = (char *)trg; -void *dest = (void *)src; +void *dest = (void *)trg;/* * Check is source address is in flash:
Signature · 1 line
2.7.4
PATCH 1/1 mpc5200: Correct return value of memcpy function
Quoted 6 lines · On Tue, 24 Jan 2017 13:47:31 +0100 thomas.graziadei at omicronenergy.com…
From: Mark Marshall <[email protected]>
The
memcpy()function returns a pointer to trg.Signed-off-by Mark Marshall <[email protected]>Reviewed-by Thomas Graziadei <[email protected]>
Reviewed-by Anatolij Gustschin <[email protected]>
--
Anatolij
PATCH 1/1 mpc5200: Correct return value of memcpy function
In reply to thomas.graziadei at omicronenergy.comQuoted 7 lines · thomas.graziadei at omicronenergy.com
From: Mark Marshall <[email protected]>
The
memcpy()function returns a pointer to trg.Signed-off-by Mark Marshall <[email protected]>Reviewed-by Thomas Graziadei <[email protected]>---
Applied to u-boot-mpc85xx master, awaiting upstream. Thanks.
York