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

Simon Glass
2021-10-14T15:16:11Z

On Wed, 13 Oct 2021 at 09:46, Marek Behún <kabel@kernel.org> wrote:
>
> From: Marek Behún <marek.behun@nic.cz>
>
> Copy the value of the found variable into given buffer with memcpy()
> instead of ad-hoc code.
>
> Signed-off-by: Marek Behún <marek.behun@nic.cz>
> ---
> cmd/nvedit.c | 18 ++++++------------
> 1 file changed, 6 insertions(+), 12 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>