[U-Boot] [PATCH 2/3] cmd_mem: cmp: unify size code paths

Wolfgang Denk wd at denx.de
Tue Jun 19 22:31:55 CEST 2012


Dear Mike Frysinger,

In message <1327086442-18016-2-git-send-email-vapier at gentoo.org> you wrote:
> Not only does the source code get simpler, but it also shrinks the
> compiled object code too.
> 
> While we're here, tweak the summary message to avoid the plural
> issue.  It isn't that big of a deal, and it's currently wrong
> anyways in the single (1 byte) case:
> 	Total of 1 byte were the same
> Grammar wise, that should be "was" rather than "were".  The new
> output people should be able to easily figure out:
> 	Total of 1 byte(s) were the same
> 	Total of 10 byte(s) were the same
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
>  common/cmd_mem.c |   52 +++++++++++++++++++---------------------------------
>  1 files changed, 19 insertions(+), 33 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
They're usually so busy thinking about what  happens  next  that  the
only  time they ever find out what is happening now is when they come
to look back on it.                 - Terry Pratchett, _Wyrd Sisters_


More information about the U-Boot mailing list