Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp788264imm; Fri, 21 Sep 2018 08:18:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbVX439QtVjX+/jWxxrDKcz1kIBeDg4Pv9FYqJJbzTRn6CshtVXoCQyLmcJvVJk4ukskG74 X-Received: by 2002:a17:902:59dd:: with SMTP id d29-v6mr3147966plj.34.1537543097763; Fri, 21 Sep 2018 08:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537543097; cv=none; d=google.com; s=arc-20160816; b=i20o4b9RzCKoGov12XdaSwVQ3KLvl/A5lMl83ow2sZcLbY4RTgW7YiCBgkFbEAgQqs Qn5jj/1zkZcIOpY+gEN5Udi38YduDxNuS6QLXXcH/fhPVcsq6MGwSICAc71jgBjx/xUn v6FNK1vX/bPRcOE5XRzqbmfwBOy1iqxSyH3qgOvat2O7DT0AmK/g1DY8OvEvbdXaYRPf uwmcHau6DXicMigbPL867oZucqHFpDov0LIZFMbvu1DjSYHt22XNWYbhewrhTe4uFv26 pbKHQNTggT/iilkkcnQL4GgHgK02h8QqEWaUVo1X/q0z/+x8OVT65psCVt7XnvalQsCH tEXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=48KpBhbpX8k4MlE9FZxCCo+SK7CByQ3FGnXwZR2f4hg=; b=mv3WPfAM2Q0gXlLE+0Qn9grTEPKi9QEEAa3Y1r68wrMHgQbVXoFdSSn/qNAgFPlYoP pRt0cjKMxQXa6mobmhFyypSRfMYN3Xx4ho2FUrBz287a4HsbEmAcw/vpqhWmAcvvgo8B a/bDsiFiUApBky9jb0PTZao6ZuGlgxYst6Yem0GP5fmB6sgzoLIh9en+K7L7cFb4EcAj oEytmtyRmCWqi49xPHIsX27AKoppR2pw/nH8XMhDSMKmq0i3GDPtgjF6PNQrFA6iD4Fb CaObcLfdBJ/ccgFIVNOotle/Q6IkvlnrRm0kpbbqqC7XCD4gAGmzmhaPmynzpzzUhxcl v7fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pA4Vvh1K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g15-v6si26047770plq.243.2018.09.21.08.17.54; Fri, 21 Sep 2018 08:18:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pA4Vvh1K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S2390815AbeIUVDP (ORCPT + 99 others); Fri, 21 Sep 2018 17:03:15 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36894 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390707AbeIUVDM (ORCPT ); Fri, 21 Sep 2018 17:03:12 -0400 Received: by mail-wr1-f67.google.com with SMTP id u12-v6so13216814wrr.4 for ; Fri, 21 Sep 2018 08:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=48KpBhbpX8k4MlE9FZxCCo+SK7CByQ3FGnXwZR2f4hg=; b=pA4Vvh1KYKqK32X35dwOc2sZ+du68FLEqTwEuOeJRddrsO6UzG1REZ07mAcgXwK8l9 RA6b/c5ywJT6p8sdhE+KqmIBpxJnagcnbJD82VLes1nzNkyHvfeyc4rYL/3VzyValRfc RtMZY9mirFw4rUCwXlBijzT/9NM3u4rP63XyYtXJrwVUvIkDPRNpnyUy7vePoRgIGtNB h8W0TvXJ2W8YgcZ8is6VJncGk9D9qYZP9r/wrYd4sob5Sus3WRTf1HWjZ4dCEUaP29O2 hQCXakhPH46K7WYNUOxQNZgMpHIZcI+1VJsRY3A4SF30xp03gVn1HNQTyMMZoEoPCmsI WKtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=48KpBhbpX8k4MlE9FZxCCo+SK7CByQ3FGnXwZR2f4hg=; b=Qg+oPau9OxYPkupsJtkHHp1jv6lk0E/VjYIqR4LZ8rK/aAG2qIgbbddQUnhubDqKHc PtQYI/rxsKt3SZZkhaPMAvpuvZ5MuPJAoJhlKTeZamE0VZGFilVjH/L3XsU7UDgzVBGO FDcc3VBHCBn+StgFnoeteaunZzBjNpkO3vrfp5DlBc983PEqjP3Zd0B+KK8FbHuB8cKO f4IXJrBNefIyGRErcrkY6E84JhTnTHuM1w5xg8wMaAlg5On856qX9kc9/mqpOcw4+wCu Cx9Zc+CHCahmZ19S4PnOJ30Xnhb8pk8c/sF0XuMupO3/2ootx3vtB5U2vc9z0cxi+PvX qrNA== X-Gm-Message-State: APzg51BdZ9hmlKbMoncRRC8TdDm3ysDdsYPw01GpbCAisC3wYxvmSk4Z 7SCgf393krv/RYdfdHjdIfl4eQ== X-Received: by 2002:adf:dcc1:: with SMTP id x1-v6mr39273115wrm.21.1537542831696; Fri, 21 Sep 2018 08:13:51 -0700 (PDT) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:84be:a42a:826d:c530]) by smtp.gmail.com with ESMTPSA id e7-v6sm27990271wru.46.2018.09.21.08.13.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 08:13:50 -0700 (PDT) From: Andrey Konovalov To: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Catalin Marinas , Will Deacon , Christoph Lameter , Andrew Morton , Mark Rutland , Nick Desaulniers , Marc Zyngier , Dave Martin , Ard Biesheuvel , "Eric W . Biederman" , Ingo Molnar , Paul Lawrence , Geert Uytterhoeven , Arnd Bergmann , "Kirill A . Shutemov" , Greg Kroah-Hartman , Kate Stewart , Mike Rapoport , kasan-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sparse@vger.kernel.org, linux-mm@kvack.org, linux-kbuild@vger.kernel.org Cc: Kostya Serebryany , Evgeniy Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Jann Horn , Mark Brand , Chintan Pandya , Vishwath Mohan , Andrey Konovalov Subject: [PATCH v9 03/20] kasan: rename source files to reflect the new naming scheme Date: Fri, 21 Sep 2018 17:13:25 +0200 Message-Id: <875284629f1727911c2388ebe724fdd0b609eefa.1537542735.git.andreyknvl@google.com> X-Mailer: git-send-email 2.19.0.444.g18242da7ef-goog In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We now have two KASAN modes: generic KASAN and tag-based KASAN. Rename kasan.c to generic.c to reflect that. Also rename kasan_init.c to init.c as it contains initialization code for both KASAN modes. Signed-off-by: Andrey Konovalov --- mm/kasan/Makefile | 8 ++++---- mm/kasan/{kasan.c => generic.c} | 0 mm/kasan/{kasan_init.c => init.c} | 0 3 files changed, 4 insertions(+), 4 deletions(-) rename mm/kasan/{kasan.c => generic.c} (100%) rename mm/kasan/{kasan_init.c => init.c} (100%) diff --git a/mm/kasan/Makefile b/mm/kasan/Makefile index a6df14bffb6b..d643530b24aa 100644 --- a/mm/kasan/Makefile +++ b/mm/kasan/Makefile @@ -1,14 +1,14 @@ # SPDX-License-Identifier: GPL-2.0 KASAN_SANITIZE := n UBSAN_SANITIZE_common.o := n -UBSAN_SANITIZE_kasan.o := n +UBSAN_SANITIZE_generic.o := n KCOV_INSTRUMENT := n -CFLAGS_REMOVE_kasan.o = -pg +CFLAGS_REMOVE_generic.o = -pg # Function splitter causes unnecessary splits in __asan_load1/__asan_store1 # see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63533 CFLAGS_common.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) -CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) +CFLAGS_generic.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector) -obj-y := common.o kasan.o report.o kasan_init.o quarantine.o +obj-y := common.o generic.o report.o init.o quarantine.o diff --git a/mm/kasan/kasan.c b/mm/kasan/generic.c similarity index 100% rename from mm/kasan/kasan.c rename to mm/kasan/generic.c diff --git a/mm/kasan/kasan_init.c b/mm/kasan/init.c similarity index 100% rename from mm/kasan/kasan_init.c rename to mm/kasan/init.c -- 2.19.0.444.g18242da7ef-goog