cxl: Add explicit precision specifiers
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Thu, 11 Jun 2015 11:27:51 +0000 (13:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 13 Jul 2015 00:10:54 +0000 (10:10 +1000)
commit80c394fab89649585089f5bd5013f2d99e5756ef
treea9982091448528b547dd08199dc0e86062d966c8
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
cxl: Add explicit precision specifiers

C99 says that a precision given as simply '.' with no following digits
or * should be interpreted as 0. The kernel's printf implementation,
however, treats this case as if the precision was omitted. C99 also
says that if both the precision and value are 0, no digits should be
printed. Even if the kernel followed C99 to the letter, I don't think
that would be particularly useful in these cases. For consistency with
most other format strings in the file, use an explicit precision of 16
and add a 0x prefix.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/irq.c
This page took 0.04407 seconds and 5 git commands to generate.