From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759454AbcAUMut (ORCPT ); Thu, 21 Jan 2016 07:50:49 -0500 Received: from mga04.intel.com ([192.55.52.120]:1537 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759071AbcAUMus (ORCPT ); Thu, 21 Jan 2016 07:50:48 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,325,1449561600"; d="scan'208";a="895337961" Message-ID: <1453380661.2521.144.camel@linux.intel.com> Subject: Re: [PATCH v2 00/11] lib/vsprintf: refactor and introduce %pl specifier From: Andy Shevchenko To: Robert Elliott , Matt Fleming , Andrew Morton , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , linux-kernel@vger.kernel.org, Rasmus Villemoes , Brian Norris , Hariprasad S Date: Thu, 21 Jan 2016 14:51:01 +0200 In-Reply-To: <1452810221-116505-1-git-send-email-andriy.shevchenko@linux.intel.com> References: <1452810221-116505-1-git-send-email-andriy.shevchenko@linux.intel.com> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2016-01-15 at 00:23 +0200, Andy Shevchenko wrote: > 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. Rasmus, thanks for review. Andrew, please don't take this series anyhow, I'm also pretty sure there will be no v3 of it anyway. > > 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(-) > -- Andy Shevchenko Intel Finland Oy