summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2013-11-21 23:32:06 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-22 01:42:27 +0100
commitb7a9f420ed737cb7cd4075ba06ac1a6f0da9f878 (patch)
tree17c9854b57621cf465522177e4d591f2dea01ec3 /lib
parentblock/partitions/efi.c: fix bound check (diff)
downloadlinux-b7a9f420ed737cb7cd4075ba06ac1a6f0da9f878.tar.xz
linux-b7a9f420ed737cb7cd4075ba06ac1a6f0da9f878.zip
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions