Re: [PATCH] lib: Add missing arguments to memcpy_parse_options()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 09, 2019 at 12:22:53AM -0700, Andrey Smirnov wrote:
> 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@xxxxxxxxx>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
>  commands/memcmp.c | 3 ++-
>  commands/memcpy.c | 3 ++-
>  include/common.h  | 3 ++-
>  lib/misc.c        | 7 ++++---
>  4 files changed, 10 insertions(+), 6 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux