lib/vsprintf: Replace custom spec to print decimals with generic one
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 Jul 2020 18:08:23 +0000 (21:08 +0300)
committerSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Sat, 1 Aug 2020 03:52:36 +0000 (12:52 +0900)
commit09ceb8d76e6fa2c6a5bfc22eabd0cebe599e1690
treee2e9f1f1d6b69b2b015699dc3ec6697409d2fc1e
parentb886690d1bf050525367f552842e3c89567c8ec6
lib/vsprintf: Replace custom spec to print decimals with generic one

When printing phandle via %pOFp the custom spec is used. First of all,
it has a SMALL flag which makes no sense for decimal numbers. Second,
we have already default spec for decimal numbers. Use the latter in
the %pOFp case as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Pantelis Antoniou <pantelis.antoniou@konsulko.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Joe Perches <joe@perches.com>
Cc: Grant Likely <grant.likely@arm.com>
Link: https://lore.kernel.org/r/20200731180825.30575-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
lib/vsprintf.c