From: Andrew Morton Date: Wed, 5 Oct 2011 00:43:03 +0000 (+1100) Subject: mm-neaten-warn_alloc_failed-fix X-Git-Tag: next-20111005~2^2~169 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bbb5db72a0bf34fac9782397b84ebfad0c14d1e3;p=karo-tx-linux.git mm-neaten-warn_alloc_failed-fix use the __printf() macro Cc: Joe Perches Signed-off-by: Andrew Morton --- diff --git a/include/linux/mm.h b/include/linux/mm.h index 24f868f0b364..e2a92a67fa5b 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -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);