diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 12:12:26 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-23 12:12:26 -0400 |
commit | 57d19e80f459dd845fb3cfeba8e6df8471bac142 (patch) | |
tree | 8254766715720228db3d50f1ef3c7fe003c06d65 /lib | |
parent | ee9ec4f82049c678373a611ce20ac67fe9ad836e (diff) | |
parent | e64851f5a0ad6ec991f74ebb3108c35aa0323d5f (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
b43: fix comment typo reqest -> request
Haavard Skinnemoen has left Atmel
cris: typo in mach-fs Makefile
Kconfig: fix copy/paste-ism for dell-wmi-aio driver
doc: timers-howto: fix a typo ("unsgined")
perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
treewide: fix a few typos in comments
regulator: change debug statement be consistent with the style of the rest
Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
audit: acquire creds selectively to reduce atomic op overhead
rtlwifi: don't touch with treewide double semicolon removal
treewide: cleanup continuations and remove logging message whitespace
ath9k_hw: don't touch with treewide double semicolon removal
include/linux/leds-regulator.h: fix syntax in example code
tty: fix typo in descripton of tty_termios_encode_baud_rate
xtensa: remove obsolete BKL kernel option from defconfig
m68k: fix comment typo 'occcured'
arch:Kconfig.locks Remove unused config option.
treewide: remove extra semicolons
...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 3 | ||||
-rw-r--r-- | lib/vsprintf.c | 9 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 10ef61981149..0efcdca9751a 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -7,7 +7,8 @@ config PRINTK_TIME | |||
7 | included in printk output. This allows you to measure | 7 | included in printk output. This allows you to measure |
8 | the interval between kernel operations, including bootup | 8 | the interval between kernel operations, including bootup |
9 | operations. This is useful for identifying long delays | 9 | operations. This is useful for identifying long delays |
10 | in kernel startup. | 10 | in kernel startup. Or add printk.time=1 at boot-time. |
11 | See Documentation/kernel-parameters.txt | ||
11 | 12 | ||
12 | config DEFAULT_MESSAGE_LOGLEVEL | 13 | config DEFAULT_MESSAGE_LOGLEVEL |
13 | int "Default message log level (1-7)" | 14 | int "Default message log level (1-7)" |
diff --git a/lib/vsprintf.c b/lib/vsprintf.c index dfd60192bc2e..1d659d7bb0f8 100644 --- a/lib/vsprintf.c +++ b/lib/vsprintf.c | |||
@@ -1161,8 +1161,7 @@ qualifier: | |||
1161 | * return is greater than or equal to @size, the resulting | 1161 | * return is greater than or equal to @size, the resulting |
1162 | * string is truncated. | 1162 | * string is truncated. |
1163 | * | 1163 | * |
1164 | * Call this function if you are already dealing with a va_list. | 1164 | * If you're not already dealing with a va_list consider using snprintf(). |
1165 | * You probably want snprintf() instead. | ||
1166 | */ | 1165 | */ |
1167 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) | 1166 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list args) |
1168 | { | 1167 | { |
@@ -1336,8 +1335,7 @@ EXPORT_SYMBOL(vsnprintf); | |||
1336 | * the @buf not including the trailing '\0'. If @size is == 0 the function | 1335 | * the @buf not including the trailing '\0'. If @size is == 0 the function |
1337 | * returns 0. | 1336 | * returns 0. |
1338 | * | 1337 | * |
1339 | * Call this function if you are already dealing with a va_list. | 1338 | * If you're not already dealing with a va_list consider using scnprintf(). |
1340 | * You probably want scnprintf() instead. | ||
1341 | * | 1339 | * |
1342 | * See the vsnprintf() documentation for format string extensions over C99. | 1340 | * See the vsnprintf() documentation for format string extensions over C99. |
1343 | */ | 1341 | */ |
@@ -1416,8 +1414,7 @@ EXPORT_SYMBOL(scnprintf); | |||
1416 | * into @buf. Use vsnprintf() or vscnprintf() in order to avoid | 1414 | * into @buf. Use vsnprintf() or vscnprintf() in order to avoid |
1417 | * buffer overflows. | 1415 | * buffer overflows. |
1418 | * | 1416 | * |
1419 | * Call this function if you are already dealing with a va_list. | 1417 | * If you're not already dealing with a va_list consider using sprintf(). |
1420 | * You probably want sprintf() instead. | ||
1421 | * | 1418 | * |
1422 | * See the vsnprintf() documentation for format string extensions over C99. | 1419 | * See the vsnprintf() documentation for format string extensions over C99. |
1423 | */ | 1420 | */ |