Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2219157rdb; Sun, 4 Feb 2024 22:09:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmEzndPcJ+Rnf7JT9m7Gzu06iyyUKZGbU0K7bjIkoDrgMurYPp8vaqx8o9EezREh5p6K6s X-Received: by 2002:ac8:1403:0:b0:42c:24d9:74a6 with SMTP id k3-20020ac81403000000b0042c24d974a6mr1948028qtj.11.1707113391672; Sun, 04 Feb 2024 22:09:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707113391; cv=pass; d=google.com; s=arc-20160816; b=rTn6UV0HGIFxWFNQYNEoubvKnlm9VaJveKlHt2xwiv5lHTVmvk1/UmSrsZoLU4b2XB GooQF79LfyejTawLvv3gzqUymdvbt3nevY2qMBBS/swnI6J/lcgH6UBQpA4Vn9HlGzQB JdxXSEBFHkKKH8WKVqzqL3Ie+/Q+2zisPYX3q9khCyg8SEe98QR75A7IIqFgrWyY1LvO 39cN2Mqy7quHDDBQ524Z/VOcuRSjm3RceMaMIRdCoSAJ+1XfifmeEt98v5IMoyZC0cxX ZqDpFiZsT+di0yo1j0w1CLj2eCid4v6oayemjPkzKe4F5+YTl4W5Y0FNDWgxHk7D/IhQ c6NQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=3wbIYeOJe/Z2Xp7ZpOCGvu3U9PRSd955H5wVCPXFKyo=; fh=1Fk3gbg9LTUk1KM0TqD/YGBlEDgoBNLMV/778WSEpeE=; b=EoKOJzuYnTQofFP3UzeEGHkxInp0k27me7nVdFhTvsENHRuD/pIdcSSD7a02JsZsKK wr05RUZMpvcbQPCk2to5uFcoxTGGmN5uGB3Tw7MN0ObRVtiRhPAN6sjMwTA/pPzkth7n +EFauBEZoeeYEMwHTbP5/OVyN2CXsQtuzvCTNiOiMg39R/v9d07gSiprLbAdr4aljJYI +ymB/Z5XDMK6PmhZ2pi4RvoOWaj8a7llBdqPJJSJ10XhKVMOkDHhwkzFHCBlakTjOHuS WuNYcoXXTwd3fa5W/Wr0xje54u6Wt1MrvEzF32A8CuIZQr5OtEMQ4zRd6PV77rV+1Lyz qGjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-52068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52068-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUgDWT0I5V6GxnFiyvDxE9zGPvLsxWfzkx4/tPcgZio1SsIX91/fXbcDU7eauMLhCAmSIDh3+YCAVbARLeOBiYfEhEMyrxa324bC6La8w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id a13-20020a05622a064d00b0042a83f2cb61si8029822qtb.72.2024.02.04.22.09.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 22:09:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=loongson.cn); spf=pass (google.com: domain of linux-kernel+bounces-52068-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52068-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 70CCD1C20D06 for ; Mon, 5 Feb 2024 06:09:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92FD110971; Mon, 5 Feb 2024 06:09:33 +0000 (UTC) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AFCB8BE4A; Mon, 5 Feb 2024 06:09:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.242.206.163 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707113373; cv=none; b=GlvYEW8nFuNEWiZfur33jpeSqtglll3k7hNtTvePNFNWgfFyB71ddBiGxjNX++QAOoz/Sw2F9DXocNhYYkn9veiBR4KquDa+8dKFhXCtpvlfFoose1/WvNA5lRyfxxNSzzyuRBxcVsS0RmMuril89bFs03f67mL6xMvNNxn11HQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707113373; c=relaxed/simple; bh=ubohSoxy0nNlpG/cl6FoJaVJyCyPjAubm2llac2X1YQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OS/XBayf+FtH7kE/Q+TfdDeJm5l2maBBB0EHkT2GwOR3AA/yKG8LLZvt30BDoI1PvK2ONWUt6zqQb3YzZzuLZ8BYocSeQru3DB8SYE6Bdis+GFgQghK1A2o4EclBSIPy8Ws+S4aTQdS31vwPv8u6YrGabkRUhsRRLBS4WMjuKls= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn; spf=pass smtp.mailfrom=loongson.cn; arc=none smtp.client-ip=114.242.206.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [113.200.148.30]) by gateway (Coremail) with SMTP id _____8Ax++iYe8Bl8skKAA--.10827S3; Mon, 05 Feb 2024 14:09:28 +0800 (CST) Received: from linux.localdomain (unknown [113.200.148.30]) by localhost.localdomain (Coremail) with SMTP id AQAAf8AxHs+Ve8BluusvAA--.49177S4; Mon, 05 Feb 2024 14:09:27 +0800 (CST) From: Tiezhu Yang To: Andrew Morton , Jonathan Corbet , Andrey Ryabinin , Andrey Konovalov , Marco Elver Cc: kasan-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] kasan: Rename test_kasan_module_init to kasan_test_module_init Date: Mon, 5 Feb 2024 14:09:22 +0800 Message-ID: <20240205060925.15594-3-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240205060925.15594-1-yangtiezhu@loongson.cn> References: <20240205060925.15594-1-yangtiezhu@loongson.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID:AQAAf8AxHs+Ve8BluusvAA--.49177S4 X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBj9xXoWrZF45Cry3Jr18uw1DJryxWFX_yoWkGFXEqw 4UXrZ5G34aqanYkr47uw1fXrs7ua1xCrs8ArWxGFy5Zwn3KwsxZr40qr9rJw4rCr43ArWf trWDZr1Yqr12kosvyTuYvTs0mTUanT9S1TB71UUUUjUqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb3kYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_JF0_JFyl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Gr1j6F4UJwAaw2AFwI0_Jrv_JF1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0c Ia020Ex4CE44I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jw0_ WrylYx0Ex4A2jsIE14v26r4j6F4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwI xGrwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWU XVWUAwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67 kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVW8JVW5JwCI42IY 6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0x vEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVj vjDU0xZFpf9x07jrPEfUUUUU= After commit f7e01ab828fd ("kasan: move tests to mm/kasan/"), the test module file is renamed from lib/test_kasan_module.c to mm/kasan/kasan_test_module.c, in order to keep consistent, rename test_kasan_module_init to kasan_test_module_init. Signed-off-by: Tiezhu Yang --- mm/kasan/kasan_test_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/kasan/kasan_test_module.c b/mm/kasan/kasan_test_module.c index 8b7b3ea2c74e..27ec22767e42 100644 --- a/mm/kasan/kasan_test_module.c +++ b/mm/kasan/kasan_test_module.c @@ -62,7 +62,7 @@ static noinline void __init copy_user_test(void) kfree(kmem); } -static int __init test_kasan_module_init(void) +static int __init kasan_test_module_init(void) { /* * Temporarily enable multi-shot mode. Otherwise, KASAN would only @@ -77,5 +77,5 @@ static int __init test_kasan_module_init(void) return -EAGAIN; } -module_init(test_kasan_module_init); +module_init(kasan_test_module_init); MODULE_LICENSE("GPL"); -- 2.42.0