diff options
| author | Rick Chen <[email protected]> | 2023-01-04 09:56:28 +0800 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2023-02-01 16:17:45 +0800 |
| commit | 3c60e59a4f540ae28dc51a4044f9733169cd7081 (patch) | |
| tree | 9b29b00382d54a141e2b74369a1f53de1d0affe4 /scripts/basic | |
| parent | 5b71b7bf92dd12dfb768180fc25ab4616f077642 (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 <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
