Re: [PATCH v3 0/4] x86/efi: use binary units when printing

From: James Bottomley
Date: Sat Jan 23 2016 - 11:34:43 EST


On Sat, 2016-01-23 at 16:55 +0200, Andy Shevchenko wrote:
> The patch series exports the arrays of binary and decimal units as
> it's
> described by IEC.
>
> First user of it is EFI code which would print sizes and other values
> using
> binary prefix.
>
> James, is this now okay to you?

Patch 2 is still pointless. I happen to like the <tab><space>label:
convention. I realise others don't but an entire patch simply to
change my convention to your convention is a bit overkill.

I'll comment on the rest in the patches.

James

> Matt, I suppose we need to update the stuff in your tree.
>
> Since v2:
> - address James comment (don't nail array size)
> - fix a title and commit message for patch 3 to be in align with the
> change
>
> Andy Shevchenko (3):
> lib/string_helpers: export string_units_{2,10} for others
> lib/string_helpers: fix indentation in few places
> x86/efi: Use proper units in efi_find_mirror()
>
> Robert Elliott (1):
> x86/efi: print size in binary units in efi_print_memmap
>
> arch/x86/platform/efi/efi.c | 27 ++++++++++++++++++---------
> include/linux/string_helpers.h | 3 +++
> lib/string_helpers.c | 26 ++++++++++++++------------
> 3 files changed, 35 insertions(+), 21 deletions(-)
>