summaryrefslogtreecommitdiffstats
path: root/mm/debug-pagealloc.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2011-10-31 17:08:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-31 17:30:48 -0700
commit3ee9a4f086716d792219c021e8509f91165a4128 (patch)
treef85162b8e024624f07909eaba4e85b89df924ebb /mm/debug-pagealloc.c
parent06d5e032adcbc7d50c606a1396f00e2474e4213e (diff)
downloadlinux-3ee9a4f086716d792219c021e8509f91165a4128.tar.gz
linux-3ee9a4f086716d792219c021e8509f91165a4128.tar.bz2
linux-3ee9a4f086716d792219c021e8509f91165a4128.zip
mm: neaten warn_alloc_failed
Add __attribute__((format (printf...) to the function to validate format and arguments. Use vsprintf extension %pV to avoid any possible message interleaving. Coalesce format string. Convert printks/pr_warning to pr_warn. [akpm@linux-foundation.org: use the __printf() macro] Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/debug-pagealloc.c')
0 files changed, 0 insertions, 0 deletions