All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] lib/vsprintf: refactor and introduce %pl specifier
@ 2016-01-14 22:23 Andy Shevchenko
  2016-01-14 22:23 ` [PATCH v2 01/11] lib/vsprintf: introduce put_one_char() for 3 line idiom Andy Shevchenko
                   ` (11 more replies)
  0 siblings, 12 replies; 20+ messages in thread
From: Andy Shevchenko @ 2016-01-14 22:23 UTC (permalink / raw)
  To: Robert Elliott, Matt Fleming, Andrew Morton, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, linux-kernel, Rasmus Villemoes,
	Brian Norris, Hariprasad S
  Cc: Andy Shevchenko

This series refactors vsprintf.c, introduces %pl specifier to print unsigned
long long value in human-readable format, enhances EFI messages, and converts
existing users of such functionality.

The series has been tested on 32-bit and 64-bit Intel platforms with
test_printf.c suite.

In the future someone can extend %pl to cover the cases like string_get_size()
does.

Andy Shevchenko (10):
  lib/vsprintf: introduce put_one_char() for 3 line idiom
  lib/vsprintf: make default_dec_spec global
  lib/vsprintf: make default_str_spec global
  lib/string_helpers: export string_units_{2,10} for others
  lib/string_helpers: fix indentation in few places
  lib/vsprintf: introduce %pl to print in human-readable form
  lib/vsprintf: allow range of prefix for %pl[From[To]]
  lib/vsprintf: use precision field with %pl[From[To]]
  cxgb4: print value in human-readable form via %.0plKM
  pcmciamtd: print value in human-readable form via %.0plKM

Robert Elliott (1):
  x86/efi: print size and base in binary units in efi_print_memmap

 Documentation/printk-formats.txt                   |  22 ++
 arch/x86/platform/efi/efi.c                        |  11 +-
 drivers/mtd/maps/pcmciamtd.c                       |  12 +-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c |  11 +-
 include/linux/string_helpers.h                     |   6 +
 lib/string_helpers.c                               |  26 +-
 lib/test_printf.c                                  |  84 +++++-
 lib/vsprintf.c                                     | 296 ++++++++++-----------
 8 files changed, 277 insertions(+), 191 deletions(-)

-- 
2.6.4

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-01-21 21:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 22:23 [PATCH v2 00/11] lib/vsprintf: refactor and introduce %pl specifier Andy Shevchenko
2016-01-14 22:23 ` [PATCH v2 01/11] lib/vsprintf: introduce put_one_char() for 3 line idiom Andy Shevchenko
2016-01-18 20:35   ` Rasmus Villemoes
2016-01-14 22:23 ` [PATCH v2 02/11] lib/vsprintf: make default_dec_spec global Andy Shevchenko
2016-01-18 20:38   ` Rasmus Villemoes
2016-01-14 22:23 ` [PATCH v2 03/11] lib/vsprintf: make default_str_spec global Andy Shevchenko
2016-01-14 22:23 ` [PATCH v2 04/11] lib/string_helpers: export string_units_{2,10} for others Andy Shevchenko
2016-01-14 22:23 ` [PATCH v2 05/11] lib/string_helpers: fix indentation in few places Andy Shevchenko
2016-01-14 22:23 ` [PATCH v2 06/11] lib/vsprintf: introduce %pl to print in human-readable form Andy Shevchenko
2016-01-15  3:04   ` Joe Perches
2016-01-18 20:57   ` Rasmus Villemoes
2016-01-21 21:13   ` H. Peter Anvin
2016-01-14 22:23 ` [PATCH v2 07/11] x86/efi: print size and base in binary units in efi_print_memmap Andy Shevchenko
2016-01-14 22:23 ` [PATCH v2 08/11] lib/vsprintf: allow range of prefix for %pl[From[To]] Andy Shevchenko
2016-01-18 21:40   ` Rasmus Villemoes
2016-01-14 22:23 ` [PATCH v2 09/11] lib/vsprintf: use precision field with %pl[From[To]] Andy Shevchenko
2016-01-18 22:21   ` Rasmus Villemoes
2016-01-14 22:23 ` [PATCH v2 10/11] cxgb4: print value in human-readable form via %.0plKM Andy Shevchenko
2016-01-14 22:23 ` [PATCH v2 11/11] pcmciamtd: " Andy Shevchenko
2016-01-21 12:51 ` [PATCH v2 00/11] lib/vsprintf: refactor and introduce %pl specifier Andy Shevchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.