]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kasan: make get_wild_bug_type() static
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Jul 2017 22:50:40 +0000 (15:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:33 +0000 (16:32 -0700)
commit822d5ec25884b4e4436c819d03035fc0dd689309
tree600a6e18e4ed197edbdea1b433d42e175072aa22
parentf5bd62cd44119a11a30976f6a97f4aab2c35a097
kasan: make get_wild_bug_type() static

The helper function get_wild_bug_type() does not need to be in global
scope, so make it static.

Cleans up sparse warning:

  "symbol 'get_wild_bug_type' was not declared. Should it be static?"

Link: http://lkml.kernel.org/r/20170622090049.10658-1-colin.king@canonical.com
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Dmitry Vyukov <dvyukov@google.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Alexander Potapenko <glider@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kasan/report.c