aboutsummaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2012-07-30 17:40:25 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-07-30 20:25:14 -0400
commit80f548e04d0b1d67d4fa8f59dbecc247f7b71c92 (patch)
tree5d420dcddeda3e8487068fcf7fc89241b372d912 /lib/vsprintf.c
parent76597ff989a1fbaa9b9a1e54007cd759bf257ab7 (diff)
lib/vsprintf.c: remind people to update Documentation/printk-formats.txt when adding printk formats
Cc: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/vsprintf.c')
-rw-r--r--lib/vsprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vsprintf.c b/lib/vsprintf.c
index 736974576e2d..a0b5f15c92cf 100644
--- a/lib/vsprintf.c
+++ b/lib/vsprintf.c
@@ -1297,6 +1297,8 @@ qualifier:
1297 * case. 1297 * case.
1298 * %n is ignored 1298 * %n is ignored
1299 * 1299 *
1300 * ** Please update Documentation/printk-formats.txt when making changes **
1301 *
1300 * The return value is the number of characters which would 1302 * The return value is the number of characters which would
1301 * be generated for the given input, excluding the trailing 1303 * be generated for the given input, excluding the trailing
1302 * '\0', as per ISO C99. If you want to have the exact 1304 * '\0', as per ISO C99. If you want to have the exact