summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2015-06-25 15:03:35 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-06-25 17:00:42 -0700
commitbffacb9132a306b7e22bb6366e5b277f20f67465 (patch)
tree95e2df44be90a585d15ce29b99926851df22a845 /mm
parent35a4c902f61fc262aba03d5e8381334683e4d4aa (diff)
downloadop-kernel-dev-bffacb9132a306b7e22bb6366e5b277f20f67465.zip
op-kernel-dev-bffacb9132a306b7e22bb6366e5b277f20f67465.tar.gz
kasan: remove duplicate definition of the macro KASAN_FREE_PAGE
Remove duplicate definition of the macro KASAN_FREE_PAGE in mm/kasan/kasan.h Signed-off-by: Wang Long <long.wanglong@huawei.com> Acked-by: Andrey Ryabinin <a.ryabinin@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/kasan/kasan.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/kasan/kasan.h b/mm/kasan/kasan.h
index 4986b0a..c242adf 100644
--- a/mm/kasan/kasan.h
+++ b/mm/kasan/kasan.h
@@ -7,7 +7,6 @@
#define KASAN_SHADOW_MASK (KASAN_SHADOW_SCALE_SIZE - 1)
#define KASAN_FREE_PAGE 0xFF /* page was freed */
-#define KASAN_FREE_PAGE 0xFF /* page was freed */
#define KASAN_PAGE_REDZONE 0xFE /* redzone for kmalloc_large allocations */
#define KASAN_KMALLOC_REDZONE 0xFC /* redzone inside slub object */
#define KASAN_KMALLOC_FREE 0xFB /* object was freed (kmem_cache_free/kfree) */
OpenPOWER on IntegriCloud