diff options
author | Joe Perches <joe@perches.com> | 2017-02-08 10:44:10 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2017-02-17 16:03:17 +1100 |
commit | 803d7fc24ac8eb2bd495eb271e0989b4c1803d3d (patch) | |
tree | 483b61e3f82a58ca43296416e6455012efd4716e /arch/sparc/kernel/traps_64.c | |
parent | 695f54f92060210a7aa8332a30616348a0c9cdaa (diff) |
checkpatchpl-warn-against-using-%z-fix
vsnprintf extension %Z<foo> is non-standard C.
Suggest the use of %z instead.
Miscellanea:
o Correct the misuse of type string PRINTF_0xDECIMAL
type strings are supposed to be uppercase only.
Fix this and add tr/[a-z]/[A-Z] to the type check in case
I forget this again sometime in the future.
o Improve the mechanism to find these defects so all
3 current checks are done on the format string
Link: http://lkml.kernel.org/r/4e3ad74b0c9dc229b06018a2d79655308ddbbebd.1484014173.git.joe@perches.com
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/sparc/kernel/traps_64.c')
0 files changed, 0 insertions, 0 deletions