From patchwork Fri Mar 25 01:12:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12791170 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 9B019C433EF for ; Fri, 25 Mar 2022 01:12:09 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3150E8D001C; Thu, 24 Mar 2022 21:12:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 2C45B8D0005; Thu, 24 Mar 2022 21:12:09 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1B4EC8D001C; Thu, 24 Mar 2022 21:12:09 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (relay.hostedemail.com [64.99.140.28]) by kanga.kvack.org (Postfix) with ESMTP id 0A5A08D0005 for ; Thu, 24 Mar 2022 21:12:09 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id D1F2724DC9 for ; Fri, 25 Mar 2022 01:12:08 +0000 (UTC) X-FDA: 79281132336.05.26B6AF2 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf18.hostedemail.com (Postfix) with ESMTP id 5D9961C002B for ; Fri, 25 Mar 2022 01:12:08 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 41C65B82707; Fri, 25 Mar 2022 01:12:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E89DAC340EC; Fri, 25 Mar 2022 01:12:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1648170726; bh=Xs1D3PFLU/IARaxItNCGnqLP9ch4kXt8V+08dZ6BZ9c=; h=Date:To:From:In-Reply-To:Subject:From; b=mxyagqCAik+JOPVW2U6U++KRroqD0EJBsYhUjSa32pescmybEuU0mrtrAulMkwzrd QeZN/5NeSAL4DGjWXFdIoCzWAD0NmF+N8x+EnlGYa2arBwXlNw0G4LyOmTJepFDwI8 5XaBX59+p8t5bsppeRX1fqnzMgDNzHZvaYKLV7Go= Date: Thu, 24 Mar 2022 18:12:05 -0700 To: ryabinin.a.a@gmail.com,glider@google.com,elver@google.com,dvyukov@google.com,andreyknvl@gmail.com,tangmeng@uniontech.com,akpm@linux-foundation.org,patches@lists.linux.dev,linux-mm@kvack.org,mm-commits@vger.kernel.org,torvalds@linux-foundation.org,akpm@linux-foundation.org From: Andrew Morton In-Reply-To: <20220324180758.96b1ac7e17675d6bc474485e@linux-foundation.org> Subject: [patch 070/114] mm/kasan: remove unnecessary CONFIG_KASAN option Message-Id: <20220325011205.E89DAC340EC@smtp.kernel.org> X-Stat-Signature: h31naq4w4fygzb7x9cr6j6nt5x4nnwb8 Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=mxyagqCA; spf=pass (imf18.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Rspam-User: X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 5D9961C002B X-HE-Tag: 1648170728-747581 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: From: tangmeng Subject: mm/kasan: remove unnecessary CONFIG_KASAN option 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. Link: https://lkml.kernel.org/r/20220221065421.20689-1-tangmeng@uniontech.com Signed-off-by: tangmeng Reviewed-by: Marco Elver Cc: Andrey Ryabinin Cc: Alexander Potapenko Cc: Andrey Konovalov Cc: Dmitriy Vyukov Signed-off-by: Andrew Morton --- mm/kasan/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/mm/kasan/Makefile~mm-kasan-remove-unnecessary-config_kasan-option +++ a/mm/kasan/Makefile @@ -35,7 +35,7 @@ CFLAGS_shadow.o := $(CC_FLAGS_KASAN_RUNT 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