Re: [PATCH v3 11/13] env: Use memcpy() instead of ad-hoc code to copy variable value

2021-10-21 Thread Simon Glass
From: Marek Behún Copy the value of the found variable into given buffer with memcpy() instead of ad-hoc code. Signed-off-by: Marek Behún Reviewed-by: Simon Glass --- cmd/nvedit.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) Applied to u-boot-dm, thanks!

[PATCH v3 11/13] env: Use memcpy() instead of ad-hoc code to copy variable value

2021-10-17 Thread Marek Behún
From: Marek Behún Copy the value of the found variable into given buffer with memcpy() instead of ad-hoc code. Signed-off-by: Marek Behún Reviewed-by: Simon Glass --- cmd/nvedit.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/cmd/nvedit.c b/cmd/nvedit