kasan: make get_wild_bug_type() static
authorColin Ian King <[email protected]>
Mon, 10 Jul 2017 22:50:40 +0000 (15:50 -0700)
committerLinus Torvalds <[email protected]>
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/[email protected]
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Dmitry Vyukov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/kasan/report.c