]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5e2230552ce63240f5460ced32d9d95923c8026f
tree1cf4c3c4258967b2797122ac1e88eb647377f3cc
parentf42f6a42a8a6a609ce203c6b9703f39660b7e0a1
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