Rick Chen 3c60e59a4f riscv: memcpy: check src and dst before copy
Add src and dst address checking, if they
are the same address, just return and don't
copy data anymore.

Signed-off-by: Rick Chen <rick@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2023-02-01 16:17:45 +08:00
..
2022-09-26 14:29:13 +08:00
2020-05-18 18:36:55 -04:00
2022-09-29 16:07:57 -04:00
2021-04-08 15:37:29 +08:00
2022-09-29 16:11:31 -04:00