Home
last modified time | relevance | path

Searched hist:b7a9f420ed737cb7cd4075ba06ac1a6f0da9f878 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmempolicy.cdiff b7a9f420ed737cb7cd4075ba06ac1a6f0da9f878 Thu Nov 21 16:32:06 CST 2013 David Rientjes <rientjes@google.com> mm, mempolicy: silence gcc warning

Fengguang Wu reports that compiling mm/mempolicy.c results in a warning:

mm/mempolicy.c: In function 'mpol_to_str':
mm/mempolicy.c:2878:2: error: format not a string literal and no format arguments

Kees says this is because he is using -Wformat-security.

Silence the warning.

Signed-off-by: David Rientjes <rientjes@google.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Suggested-by: Kees Cook <keescook@chromium.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>