summaryrefslogtreecommitdiff
path: root/mm/kasan/kasan.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2017-04-04 18:34:30 +0300
committerSean Paul <seanpaul@chromium.org>2017-04-04 18:34:31 +0300
commit9eb8902e278f3314e1e9429c5f13db9e7a7a0cff (patch)
tree4c37354471b909f07c02726eba22caa56a910108 /mm/kasan/kasan.h
parentc829a33253e018472335b02e6d8bb1bb4213a142 (diff)
parent3c2507d308afb233dd41387b41512e7aa97535f0 (diff)
downloadlinux-9eb8902e278f3314e1e9429c5f13db9e7a7a0cff.tar.xz
Merge tag 'topic/synopsys-media-formats-2017-04-03' of git://anongit.freedesktop.org/git/drm-misc into drm-misc-next
Media formats for synopsys HDMI TX Controller Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/20170403163544.kcw5kk52tgku5xua@art_vandelay
Diffstat (limited to 'mm/kasan/kasan.h')
-rw-r--r--mm/kasan/kasan.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/kasan/kasan.h b/mm/kasan/kasan.h
index 1c260e6b3b3c..dd2dea8eb077 100644
--- a/mm/kasan/kasan.h
+++ b/mm/kasan/kasan.h
@@ -96,11 +96,6 @@ static inline const void *kasan_shadow_to_mem(const void *shadow_addr)
<< KASAN_SHADOW_SCALE_SHIFT);
}
-static inline bool kasan_report_enabled(void)
-{
- return !current->kasan_depth;
-}
-
void kasan_report(unsigned long addr, size_t size,
bool is_write, unsigned long ip);
void kasan_report_double_free(struct kmem_cache *cache, void *object,