summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cxl/trace.h
diff options
context:
space:
mode:
authorRasmus Villemoes <linux@rasmusvillemoes.dk>2015-06-11 13:27:51 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2015-07-13 10:10:54 +1000
commit80c394fab89649585089f5bd5013f2d99e5756ef (patch)
treea9982091448528b547dd08199dc0e86062d966c8 /drivers/misc/cxl/trace.h
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
downloadlinux-80c394fab89649585089f5bd5013f2d99e5756ef.tar.bz2
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>
Diffstat (limited to 'drivers/misc/cxl/trace.h')
0 files changed, 0 insertions, 0 deletions