Assignment of function parameter has no effect outside the function. Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- arch/blackfin/lib/bf533_string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/blackfin/lib/bf533_string.c b/arch/blackfin/lib/bf533_string.c index ff9410f..860ee92 100644 --- a/arch/blackfin/lib/bf533_string.c +++ b/arch/blackfin/lib/bf533_string.c @@ -176,6 +176,6 @@ void *dma_memcpy(void * dest,const void *src,size_t count) *pMDMA_D0_IRQ_STATUS |= (DMA_DONE | DMA_ERR); dest += count; - src += count; + return dest; } -- 1.8.1.5 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox