* [PATCH] kasan: Remove duplicate definition of the macro KASAN_FREE_PAGE
@ 2015-04-22 6:23 Wang Long
2015-04-22 7:02 ` Andrey Ryabinin
0 siblings, 1 reply; 2+ messages in thread
From: Wang Long @ 2015-04-22 6:23 UTC (permalink / raw)
To: a.ryabinin, adech.fo, mmarek; +Cc: linux-mm, linux-kernel, akpm, peifeiyue
This patch just remove duplicate definition of the macro
KASAN_FREE_PAGE in mm/kasan/kasan.h
Signed-off-by: Wang Long <long.wanglong@huawei.com>
---
mm/kasan/kasan.h | 1 -
1 file changed, 1 deletion(-)
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) */
--
1.8.3.4
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] kasan: Remove duplicate definition of the macro KASAN_FREE_PAGE
2015-04-22 6:23 [PATCH] kasan: Remove duplicate definition of the macro KASAN_FREE_PAGE Wang Long
@ 2015-04-22 7:02 ` Andrey Ryabinin
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Ryabinin @ 2015-04-22 7:02 UTC (permalink / raw)
To: Wang Long, adech.fo, mmarek; +Cc: linux-mm, linux-kernel, akpm, peifeiyue
On 04/22/2015 09:23 AM, Wang Long wrote:
> This patch just 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>
> ---
> mm/kasan/kasan.h | 1 -
> 1 file changed, 1 deletion(-)
>
> 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) */
>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-22 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-22 6:23 [PATCH] kasan: Remove duplicate definition of the macro KASAN_FREE_PAGE Wang Long
2015-04-22 7:02 ` Andrey Ryabinin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox