aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/sun4m_smp.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <[email protected]>2017-02-27 14:30:05 -0800
committerLinus Torvalds <[email protected]>2017-02-27 18:43:48 -0800
commit522b837c672eba9e9fb69f9f52bced0256dc6697 (patch)
treed9cd9c08c655b4c1fce3f883274bb93506f32538 /arch/sparc/kernel/sun4m_smp.c
parent5b5e0928f742cfa853b2411400a1b19fa379d758 (diff)
checkpatch: warn when formats use %Z and suggest %z
vsnprintf extension %Z<foo> is non-standard C. Suggest the use of %z instead. Miscellanea: - 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. - Improve the mechanism to find these defects so all 3 current checks are done on the format string [[email protected]: correct the misuse of type string PRINTF_0xDECIMAL, improve the mechanism to find these defects] Link: http://lkml.kernel.org/r/4e3ad74b0c9dc229b06018a2d79655308ddbbebd.1484014173.git.joe@perches.com Link: http://lkml.kernel.org/r/20170109235955.GA6787@avx2 Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/sparc/kernel/sun4m_smp.c')
0 files changed, 0 insertions, 0 deletions