diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-06-07 17:05:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-06-07 17:34:34 -0700 |
commit | a38965bf941b7c2af50de09c96bc5f03e136caef (patch) | |
tree | d90f9ba3e14ac9827db7ea614f7e423a8c5fe2b1 /include | |
parent | 128227e7fe4087b60f1bd31f762e61237eb23790 (diff) | |
download | linux-stable-a38965bf941b7c2af50de09c96bc5f03e136caef.tar.gz linux-stable-a38965bf941b7c2af50de09c96bc5f03e136caef.tar.bz2 linux-stable-a38965bf941b7c2af50de09c96bc5f03e136caef.zip |
mm/slub.c: add __printf verification to slab_err()
__printf is useful to verify format and arguments. Remove the following
warning (with W=1):
mm/slub.c:721:2: warning: function might be possible candidate for `gnu_printf' format attribute [-Wsuggest-attribute=format]
Link: http://lkml.kernel.org/r/20180505200706.19986-1-malat@debian.org
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Lameter <cl@linux.com>
Cc: Pekka Enberg <penberg@kernel.org>
Cc: David Rientjes <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions