diff options
author | Rick Chen <rick@andestech.com> | 2023-01-04 09:56:28 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-02-01 16:17:45 +0800 |
commit | 3c60e59a4f540ae28dc51a4044f9733169cd7081 (patch) | |
tree | 9b29b00382d54a141e2b74369a1f53de1d0affe4 /drivers/gpio/adi_gpio2.c | |
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 <rick@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'drivers/gpio/adi_gpio2.c')
0 files changed, 0 insertions, 0 deletions