Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933838AbbDVHCs (ORCPT ); Wed, 22 Apr 2015 03:02:48 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:38833 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933681AbbDVHCq (ORCPT ); Wed, 22 Apr 2015 03:02:46 -0400 X-AuditID: cbfec7f5-f794b6d000001495-08-553747950289 Message-id: <55374791.6020300@samsung.com> Date: Wed, 22 Apr 2015 10:02:41 +0300 From: Andrey Ryabinin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-version: 1.0 To: Wang Long , adech.fo@gmail.com, mmarek@suse.cz Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, peifeiyue@huawei.com Subject: Re: [PATCH] kasan: Remove duplicate definition of the macro KASAN_FREE_PAGE References: <1429683812-2416-1-git-send-email-long.wanglong@huawei.com> In-reply-to: <1429683812-2416-1-git-send-email-long.wanglong@huawei.com> Content-type: text/plain; charset=windows-1251 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPLMWRmVeSWpSXmKPExsVy+t/xa7pT3c1DDX53clr83juT1WLO+jVs Fpd3zWGzuLfmP6vFkctrGC1a9l1gsti35AS7A7vHzll32T1ajrxl9dj0aRK7x4kZv1k8ziw4 wu7xeZNcAFsUl01Kak5mWWqRvl0CV8aLi3cZC1ayV/yYcIC5gfEBaxcjJ4eEgInEh+cPmCBs MYkL99azgdhCAksZJb490Oti5AKyvzNKfPgzD6yBV0BLYn1bFwuIzSKgKrF63nxmEJtNQE/i 36ztQM0cHKICERK3L3NClAtK/Jh8D6xcRMBH4t/hd2C7mAXSJY6evgy2S1ggTGLpyWdMEHvd Jfbtnwi2ilPAQ+Lrh7mMEPV6Ep/u3WSHsOUlNq95yzyBUWAWkhWzkJTNQlK2gJF5FaNoamly QXFSeq6RXnFibnFpXrpecn7uJkZIsH/dwbj0mNUhRgEORiUeXokVpqFCrIllxZW5hxglOJiV RHiTbc1DhXhTEiurUovy44tKc1KLDzFKc7AoifPO3PU+REggPbEkNTs1tSC1CCbLxMEp1cDo sshCacOa/Wdtg/vXCf+Ns326Z9aXLIGZ9vbqD3SLitqaWndmqVf7vArS/ulrPStzm8WihpVv Kj11fHqrtV6oX1o+R9arvq96AsclnzX7H/h4F61gz5iw55ba7wNnWtuE72fz/I9Sfv79xJzc 2I6rGbb5Pj8cLvUlPzpZc3bpxO99R7qfq2QosRRnJBpqMRcVJwIAfpt2f3ICAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1156 Lines: 31 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 Acked-by: Andrey Ryabinin > --- > 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/