On Wed, Jan 04, 2023 at 09:56:28AM +0800, Rick Chen wrote:
> 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
> ---
> Changes in v3
> - new patch: separate from [1/2]
> ---
> arch/riscv/lib/memcpy.S | 2 ++
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
---
Changes in v3
- new patch: separate from [1/2]
---
arch/riscv/lib/memcpy.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/riscv/lib/memcpy.S
2 matches
Mail list logo