]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-neaten-warn_alloc_failed-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 28 Sep 2011 00:50:16 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 4 Oct 2011 07:38:35 +0000 (18:38 +1100)
use the __printf() macro

Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <>
include/linux/mm.h

index 24f868f0b3643194538bc87b0f767d58f91b6218..e2a92a67fa5b187d2fe338c658623307d0a5918f 100644 (file)
@@ -1335,7 +1335,7 @@ extern void si_meminfo(struct sysinfo * val);
 extern void si_meminfo_node(struct sysinfo *val, int nid);
 extern int after_bootmem;
 
-extern __attribute__((format (printf, 3, 4)))
+extern __printf(3, 4)
 void warn_alloc_failed(gfp_t gfp_mask, int order, const char *fmt, ...);
 
 extern void setup_per_cpu_pageset(void);