Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12631679rwl; Tue, 3 Jan 2023 18:14:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXvZY8h7t3hngDeg39n7yFwbYGhNEfk4txLksppLHmCjcU+3vU4H5Q5lBOuy1SXA/R4nSPCO X-Received: by 2002:a17:90a:c395:b0:223:fb8d:4806 with SMTP id h21-20020a17090ac39500b00223fb8d4806mr54547125pjt.18.1672798482843; Tue, 03 Jan 2023 18:14:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672798482; cv=none; d=google.com; s=arc-20160816; b=zTqGi+n3lD9oT1VBgoZGe+crn5D6WmMdMWVQJldH5mFutkTGDW4fDYptb/m5n7/KcE rrVb+Qxm9YUmylBrBhhWRF/evsTb721Z9JgHVj9cjN4MiEnVyZ7NysV6Tr96/GMrgEUH NVNDi9mGN3AlECnHIIDh177bB9++C0g2k1CxEtQbxjLmC6pZCEonAYVa4I+AQ0csdgG4 1l20M7LHvaNU66agz+7GeOIIaeD3VXoYQSM3jdqCg0GhZm5Q8V12a22ELiwfOuojjAMU Ps45uDKOi8H4ifQNUt85JBlrIeboKfEAinrYvQwlJPUp9itB5jK6TLcscI3HUoBrb4iS mu3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PC26Ho/6RwxF3gMRadK0bIZPfa+DG2oG9ZOGTDXD7m0=; b=V0iOrYMFq1hcJ+zeSEp9zacpXhds8aoXYqAsfv1OBuUg3N1CZTSY1TJGnfV25NeFJC wv/Br1COdhBESR0GJH1rVziLgp3z/CrIH/X5HdHKViuTxCz7m4g9ZVh3PKLbMeEkMdHe us4rQx51ylCbXs5uCIE0Yz6AlpzKtzRhpi7nygI+f7naU4Q45sMSSZFl5cudlA1q2+EE J/zSJrGYRu8KuDQz4B2b4adQNQcCCJBQuICc6bGGxOjIooJx8hgfqQ9sTGFaoEoY5zFl jrtcY5QpvbAFjfHiAs4s0ZfhVaeTGWo1WOTadCe9ZbIzGEgjNZrzzzLuDqSRzJLS3Tkk 3GFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=VzH6fyc+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot1-20020a17090b3b4100b0021f249ab6acsi38108244pjb.139.2023.01.03.18.14.35; Tue, 03 Jan 2023 18:14:42 -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; dkim=pass header.i=@linux.dev header.s=key1 header.b=VzH6fyc+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233130AbjADBSW (ORCPT + 57 others); Tue, 3 Jan 2023 20:18:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230352AbjADBSV (ORCPT ); Tue, 3 Jan 2023 20:18:21 -0500 X-Greylist: delayed 518 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 03 Jan 2023 17:18:19 PST Received: from out-153.mta0.migadu.com (out-153.mta0.migadu.com [IPv6:2001:41d0:1004:224b::99]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88C16254 for ; Tue, 3 Jan 2023 17:18:19 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1672794576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=PC26Ho/6RwxF3gMRadK0bIZPfa+DG2oG9ZOGTDXD7m0=; b=VzH6fyc+pk4VfuQZwkkdJ+sI5RStaDfWUZC2rMCzUNYZVxTiFQrhsrPYQBb/ApO7PHD0qv XZ4YD6LGpYb1rXn+RXFM58580c3NL5N1ajLXuK8WYHDrDHcktbpujr/KxqmtRxOU2troij TnfHD6DvuzIAkaNui2I0OwAs7l6exl0= From: andrey.konovalov@linux.dev To: Andrew Morton Cc: Andrey Konovalov , Marco Elver , Alexander Potapenko , Dmitry Vyukov , Andrey Ryabinin , kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrey Konovalov , kernel test robot Subject: [PATCH] kasan: mark kasan_kunit_executing as static Date: Wed, 4 Jan 2023 02:09:33 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 From: Andrey Konovalov Mark kasan_kunit_executing as static, as it is only used within mm/kasan/report.c. Fixes: c8c7016f50c8 ("kasan: fail non-kasan KUnit tests on KASAN reports") Reported-by: kernel test robot Signed-off-by: Andrey Konovalov --- mm/kasan/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kasan/report.c b/mm/kasan/report.c index 1d02757e90a3..22598b20c7b7 100644 --- a/mm/kasan/report.c +++ b/mm/kasan/report.c @@ -119,7 +119,7 @@ EXPORT_SYMBOL_GPL(kasan_restore_multi_shot); * Whether the KASAN KUnit test suite is currently being executed. * Updated in kasan_test.c. */ -bool kasan_kunit_executing; +static bool kasan_kunit_executing; void kasan_kunit_test_suite_start(void) { -- 2.25.1