commit | 718e5693793b3ae19f70071aa2406d9147834e5a | [log] [tgz] |
---|---|---|
author | Rick Chen <rick@andestech.com> | Wed Jan 04 09:56:28 2023 +0800 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Wed Feb 01 16:17:45 2023 +0800 |
tree | 9b29b00382d54a141e2b74369a1f53de1d0affe4 | |
parent | 08537f34a45dff930a2def0a00ea6f04b26b7bfa [diff] |
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>