Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp3597851pxb; Mon, 21 Feb 2022 01:24:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJwu+Rqm0BmhSj6GKQOmJPfTRJ2GJM9YRYWsLyaTxb0SMH5525ci7ImoX6JORHOnxnODcIld X-Received: by 2002:a17:902:7043:b0:14f:47:a455 with SMTP id h3-20020a170902704300b0014f0047a455mr18128976plt.44.1645435446418; Mon, 21 Feb 2022 01:24:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645435446; cv=none; d=google.com; s=arc-20160816; b=egi1lWLHx6OSGxskR3A1wP0LRolkrVxKOxyYMmEubDiDjyXW6oJf8VY/y+iGaeo1sp 8uZ8r5L/R7NIvSco1s/2k8vFEQKgy1a46MpmpYzAGVL4KhSdUk+FOm192CgrccD6JG7m cIeAEY85N2oqUcbBoM5L8wm+bLc+lXoGdCKwkkdHyAD6nMk+N5kSVXaFdP/3yXFcXzj7 KEGYCwYM9mfOTAVagSCDOvGht0v432GqbnV19irSk9fn0JSTTXuoV54cE6JPGQUlte4X P5w/6G5E6LkhhzY2MHnEgStOzXQ7ee5fXaPW8S425Z1O9vA4NQs3qc9MxU0CWwf3dhR4 26qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=ggZkfDlGPpp9TVy5fP8ptMzqczJ8/QYBMafWemSn8mE=; b=LoQOiZQoLeG3DSXPdUgGIpgdUsFiB9XciKma8qMEQxVin8vCS0t6M8j38p4pMfefLH Yu+Ce7Tyc0YxaReBlSNPhW47CZjFUU0Zi91qte/ibQheBH942s8TNpqw1+4Kt1qk8tEz HdmbttVlVR0X5IFUhSvLwokSxUDFs96FlneNfOSy4IAPMd/mUtOyCYYeOT4ymphmDw3F 6jjtLUWE/UZGGYF9waEHpeGLxF8V3rFWqGJtxivO+J0NoDMyq3PnNiJ7z71YEcjmojVy PR/bcSVuyT37rdmRaO5N+w0gxt1klQTIlw79iweEOqpeWWE1azSvqWX0rzjU/XOjmdFk jQ0A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z25si17278491pgu.240.2022.02.21.01.23.52; Mon, 21 Feb 2022 01:24:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345707AbiBUGzD (ORCPT + 99 others); Mon, 21 Feb 2022 01:55:03 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:55032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345700AbiBUGzD (ORCPT ); Mon, 21 Feb 2022 01:55:03 -0500 Received: from smtpbgsg1.qq.com (smtpbgsg1.qq.com [54.254.200.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6C9AE14 for ; Sun, 20 Feb 2022 22:54:39 -0800 (PST) X-QQ-mid: bizesmtp65t1645426468t8ck3ryh Received: from localhost.localdomain (unknown [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 21 Feb 2022 14:54:22 +0800 (CST) X-QQ-SSF: 01400000002000B0F000000A0000000 X-QQ-FEAT: Y/4E1fKPEOoHnnNVc6AB9rh2DW/GRe7QnuF/5RjEkyjLmBpOyu7pxCD+MgaYi edrAtbETZd5L0Qq2Gjwbi0RuPROK0agkqZzt5Pp1YvKB8//rYoEzvriBtAHlRO45nSk7G90 kH4A2AWEiDU1OQshBVQHQL79KYpQMb+Ly4T7IxJGcNkGJCzht/36xS4IpixCpzPotOGNVkR 4vI0ryjjzuD1gVuvh93fahVS497MDBslCX/K6UCuv6sorJeFMVOb2vfNsG0FaDCs6IEf77m q8lIdumnsG+0DOSy7qkTCRuC4z4ybtewhec/EF7mGy4kiwmz0W8QCYLG9RrZ2u06eK38Eab MGoj5OcAD8rcA49FON/4FY15NHN+8OcsXUonupheNvw4jSLvFc= X-QQ-GoodBg: 1 From: tangmeng To: ryabinin.a.a@gmail.com, glider@google.com, andreyknvl@gmail.com, dvyukov@google.com, akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, kasan-dev@googlegroups.com, tangmeng Subject: [PATCH] mm/kasan: remove unnecessary CONFIG_KASAN option Date: Mon, 21 Feb 2022 14:54:21 +0800 Message-Id: <20220221065421.20689-1-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign5 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 In mm/Makefile has: obj-$(CONFIG_KASAN) += kasan/ So that we don't need 'obj-$(CONFIG_KASAN) :=' in mm/kasan/Makefile, delete it from mm/kasan/Makefile. Signed-off-by: tangmeng --- mm/kasan/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kasan/Makefile b/mm/kasan/Makefile index adcd9acaef61..1f84df9c302e 100644 --- a/mm/kasan/Makefile +++ b/mm/kasan/Makefile @@ -35,7 +35,7 @@ CFLAGS_shadow.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_hw_tags.o := $(CC_FLAGS_KASAN_RUNTIME) CFLAGS_sw_tags.o := $(CC_FLAGS_KASAN_RUNTIME) -obj-$(CONFIG_KASAN) := common.o report.o +obj-y := common.o report.o obj-$(CONFIG_KASAN_GENERIC) += init.o generic.o report_generic.o shadow.o quarantine.o obj-$(CONFIG_KASAN_HW_TAGS) += hw_tags.o report_hw_tags.o tags.o report_tags.o obj-$(CONFIG_KASAN_SW_TAGS) += init.o report_sw_tags.o shadow.o sw_tags.o tags.o report_tags.o -- 2.20.1