mm/kasan: rename kasan_enabled() to kasan_report_enabled()
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 6 Nov 2015 02:50:43 +0000 (18:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commit0ba8663cbfae066fc504b858db7cbb7d03c2b872
tree1cf4c3c4258967b2797122ac1e88eb647377f3cc
parent5ba97bf9d8754bd984e81c1061fcda682681939e
mm/kasan: rename kasan_enabled() to kasan_report_enabled()

The function only disable/enable reporting.  In the later patch we will be
adding a kasan early enable/disable.  Rename kasan_enabled to properly
reflect its function.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/kasan/kasan.h
mm/kasan/report.c