lib: Add missing arguments to memcpy_parse_options()
Memcpy use-case differs from that of memcmp in default access type and
destination file mode. This was missed in original commit that
introduced memcpy_parse_options(). Add said parameters to
memcpy_parse_options(), so the can be correctly specified depending on
the use-case.

Fixes: ddf4cca339 ("commands: Introduce memcpy_parse_options()")
Reported-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e7c3354 commit aa8a42ac0a259187c88e8a4aca5f3d4f4f4b753a
@Andrey Smirnov Andrey Smirnov authored on 9 Jul 2019
Sascha Hauer committed on 9 Jul 2019
Showing 4 changed files
View
commands/memcmp.c
View
commands/memcpy.c
View
include/common.h
View
lib/misc.c