From 38c254132d0292ca5204cb501086acc6a81b16db Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Wed, 5 Oct 2011 11:43:03 +1100 Subject: [PATCH] mm-neaten-warn_alloc_failed-fix use the __printf() macro Cc: Joe Perches Signed-off-by: Andrew Morton --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5