Commit 80f548e04d0b1d67d4fa8f59dbecc247f7b71c92
Committed by
Linus Torvalds
1 parent
76597ff989
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
lib/vsprintf.c
... | ... | @@ -1297,6 +1297,8 @@ |
1297 | 1297 | * case. |
1298 | 1298 | * %n is ignored |
1299 | 1299 | * |
1300 | + * ** Please update Documentation/printk-formats.txt when making changes ** | |
1301 | + * | |
1300 | 1302 | * The return value is the number of characters which would |
1301 | 1303 | * be generated for the given input, excluding the trailing |
1302 | 1304 | * '\0', as per ISO C99. If you want to have the exact |