Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3692766pxb; Mon, 21 Feb 2022 03:53:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0Rw4OxWePskNSUr37m8+eGduQbqr7E/yhB4uZ7BaKI2naCJrUkUZmACNir0dmM961GtTR X-Received: by 2002:a05:6402:1681:b0:410:a467:833b with SMTP id a1-20020a056402168100b00410a467833bmr20734066edv.412.1645444403426; Mon, 21 Feb 2022 03:53:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645444403; cv=none; d=google.com; s=arc-20160816; b=Ql0nvwchBhC2DTJZnaXatd4jfzTq5suxpN8OCZsFibL38dTZQMkUJAeVtD5TYR9zHn /aEL801czpeS93gDTas0SkP1nEKR1r88dPR8rJO3x0FnMYhn94npeRGhHxwBgTEEACxP jgfrt6grD099W/Nqdt6A5xZv2qIFk651drl/wW8FFSdC23LBcoRq93VeHcJe6t5WypzD Bvsu8+tTEQn2L0KAjsooQo6+jo+PIguPikdtuuWTtL3P2obd972aiCNDZznjBNyDi4z3 AmzLsSkEWRDWHuzhpl/E0qob2DjjHOh6JngjD/YbJvJS1IdCBSt9tw5xhJoj7pBZZHkS NGhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=OndnQyyeZ+3miOBGH8r6YA5jEmN8diDxn0ywrPw5RbI=; b=be7hZcx4EQtiRwe2jjjgKnH2/maJ7+63f2Xm0++ycsc/mAMMKWyjv4ZPBKEUF5gare PAnSNC3I7gJWdpsgmboJF1ug4QnBNNbFQ1a5zW2IiV4DNUIhguJoUQfhluCicYZ8Q5FQ w1ZrtMIXdzCv36Z8+rm1YYfUCSMlCRMxXXRAJWwTmbaP6/OZDipV/blGyhSnIcHqWGMj s86yXXBpDLg0cTQHNfowwu0vHHfWA+sNrMoWhxcGjPAAAVWpiQhqlA4OomtkWqJGhI8Z 8AhzwxmOmddP0V430rdid0anLa+bqP0lI+8GFk3c8InPYmnGmGTqJldpCIL+Hvz0kIyi N/CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=r6XMOfHz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du6si9420852ejc.222.2022.02.21.03.53.00; Mon, 21 Feb 2022 03:53:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=r6XMOfHz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347703AbiBUJI1 (ORCPT + 99 others); Mon, 21 Feb 2022 04:08:27 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:32956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347405AbiBUJBV (ORCPT ); Mon, 21 Feb 2022 04:01:21 -0500 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA48D27FFA for ; Mon, 21 Feb 2022 00:56:26 -0800 (PST) Received: by mail-yb1-xb29.google.com with SMTP id y6so32810269ybc.5 for ; Mon, 21 Feb 2022 00:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OndnQyyeZ+3miOBGH8r6YA5jEmN8diDxn0ywrPw5RbI=; b=r6XMOfHzsmunjQCdPWXKqKJJSdVe93vRBmWw6iI1QxXHltVnhZpxKeWCtl7rSxd0Bn mFUYcsOQqjEaS/Bv6wJk/92zkAidghrW340oHGbb5ManDIB2en1xC4wgOelHIAlcYyHa dfFj5hJlT1gEYCm0PxhPN04HwwkZP87C7+Agp3qZgexrPgMKo0FIFqFJ+QdRWGHwKIVB ouXuzHFimH7skVcB7Stkb5IwMYuNu0/mElIuXEnTy2Q6UGiZrTAluuWZ/bHs75x6gcAG j1wkxtI807p6h8tYlOxGFzMMnjg2eRNb1RhegCUnklr/K2Myfn2kOH4iQ6nTGrWyZkIG VDgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OndnQyyeZ+3miOBGH8r6YA5jEmN8diDxn0ywrPw5RbI=; b=tJ4OMyMXzpf7PoTaYPRNh5wMu17O2JwfNi0yRWxwbvX1DcrGFcLnk0vEE5/bYYVTfj GVLMYJWs7DCttqWkGzIRdxDL7j9Gyib9x6NXg1UTUWNi+5WAd09RHVxMwel2wzSVxUAg wklbZFh4jgmZ/d3I9TMI36L17cJSb3YNllpXFY1kcferhGHMLNjKQ7Agub7LO/xdm7Yy +wQveetv/6b+fiizj6F/+r9Ef1Mo59etefvTrlKPUXm0pP4Etz5uXejYRxVBCe6CcK6f 0RB3Xj9ew90SmCbRyizd9tkwPx/wj3wGy6VTvUecrrL71HCc/LKJrqf8WsLxgay6L7Xv uSkw== X-Gm-Message-State: AOAM532cdk7sv5kavEJp668I5PkHn5BJ2Yex0bZRi7sOymII+ZQsZy+8 4EMxngqtlOAdDAN+g4TwCF479/G7VxWwPDJ72iv4EQ== X-Received: by 2002:a25:3542:0:b0:622:caf1:2c88 with SMTP id c63-20020a253542000000b00622caf12c88mr13329448yba.625.1645433774543; Mon, 21 Feb 2022 00:56:14 -0800 (PST) MIME-Version: 1.0 References: <20220221065525.21344-1-tangmeng@uniontech.com> In-Reply-To: <20220221065525.21344-1-tangmeng@uniontech.com> From: Marco Elver Date: Mon, 21 Feb 2022 09:56:03 +0100 Message-ID: Subject: Re: [PATCH] mm/kfence: remove unnecessary CONFIG_KFENCE option To: tangmeng Cc: glider@google.com, dvyukov@google.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Feb 2022 at 07:55, tangmeng wrote: > > In mm/Makefile has: > obj-$(CONFIG_KFENCE) += kfence/ > > So that we don't need 'obj-$(CONFIG_KFENCE) :=' in mm/kfence/Makefile, > delete it from mm/kfence/Makefile. > > Signed-off-by: tangmeng Looks reasonable, thanks. Reviewed-by: Marco Elver > --- > mm/kfence/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/kfence/Makefile b/mm/kfence/Makefile > index 6872cd5e5390..0bb95728a784 100644 > --- a/mm/kfence/Makefile > +++ b/mm/kfence/Makefile > @@ -1,6 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0 > > -obj-$(CONFIG_KFENCE) := core.o report.o > +obj-y := core.o report.o > > CFLAGS_kfence_test.o := -g -fno-omit-frame-pointer -fno-optimize-sibling-calls > obj-$(CONFIG_KFENCE_KUNIT_TEST) += kfence_test.o > -- > 2.20.1 > > > > -- > You received this message because you are subscribed to the Google Groups "kasan-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an email to kasan-dev+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/kasan-dev/20220221065525.21344-1-tangmeng%40uniontech.com.