Re: [PATCH] commands: Introduce memcpy_parse_options()

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

 



On Mon, May 27, 2019 at 10:49:00PM -0700, Andrey Smirnov wrote:
> Both memcpy and memcmp have identical options, so in order to share
> code between them, introduce memcpy_parse_options() and change both
> tools to use it.
> 
> Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx>
> ---
>  commands/memcmp.c | 41 ++-------------------------------------
>  commands/memcpy.c | 41 ++-------------------------------------
>  include/common.h  |  2 ++
>  lib/misc.c        | 49 +++++++++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 55 insertions(+), 78 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