From patchwork Mon Feb 21 06:54:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Meng Tang X-Patchwork-Id: 12753180 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14282C433F5 for ; Mon, 21 Feb 2022 06:54:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 827168D0002; Mon, 21 Feb 2022 01:54:37 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 7D7908D0001; Mon, 21 Feb 2022 01:54:37 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 69FA28D0002; Mon, 21 Feb 2022 01:54:37 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.25]) by kanga.kvack.org (Postfix) with ESMTP id 5CFBF8D0001 for ; Mon, 21 Feb 2022 01:54:37 -0500 (EST) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay11.hostedemail.com (Postfix) with ESMTP id 1BA3580B20 for ; Mon, 21 Feb 2022 06:54:37 +0000 (UTC) X-FDA: 79165873794.01.F05EEEF Received: from smtpproxy21.qq.com (smtpbg703.qq.com [203.205.195.89]) by imf26.hostedemail.com (Postfix) with ESMTP id 57BDD140005 for ; Mon, 21 Feb 2022 06:54:36 +0000 (UTC) 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 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign5 X-QQ-Bgrelay: 1 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 57BDD140005 X-Rspam-User: Authentication-Results: imf26.hostedemail.com; dkim=none; spf=pass (imf26.hostedemail.com: domain of tangmeng@uniontech.com designates 203.205.195.89 as permitted sender) smtp.mailfrom=tangmeng@uniontech.com; dmarc=none X-Stat-Signature: zox5sw7cn1bxe4sbrnoafu68dn1cbjt8 X-HE-Tag: 1645426476-427570 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 Reviewed-by: Marco Elver --- 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