From patchwork Wed May 17 13:10:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13244899 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 BE066C77B75 for ; Wed, 17 May 2023 13:12:51 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 5A2C5280003; Wed, 17 May 2023 09:12:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 553A1900006; Wed, 17 May 2023 09:12:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 441C3280003; Wed, 17 May 2023 09:12:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 328AF900006 for ; Wed, 17 May 2023 09:12:51 -0400 (EDT) Received: from smtpin02.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id D04F61A05C1 for ; Wed, 17 May 2023 13:12:50 +0000 (UTC) X-FDA: 80799786900.02.2E62E50 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf25.hostedemail.com (Postfix) with ESMTP id 108BEA0011 for ; Wed, 17 May 2023 13:12:48 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=niHVPUaD; spf=pass (imf25.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1684329169; a=rsa-sha256; cv=none; b=1TvM+UmtA4RgxO5q+Zr/Cpw1eEsn6RLZm0jE5hUyDsJhkeZOQQo5RD616gTRxjshaDFag9 RDxaCjSlCdpFm/3E0RWi9DRPEgOq9WyPhpcJGLxP0pH313JR3U52uaqk4oEPSAH2X2b0N/ Bg27dzbYQHh0STbW3nVA5XDrMK4jfEY= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=niHVPUaD; spf=pass (imf25.hostedemail.com: domain of arnd@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=arnd@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1684329169; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Wk2Cc5Y19KxG1Txl5+864oAePRxSIC1ST1Y4nfcfiyg=; b=afOwqsOxE22rUGt/7zJEYstLU4lgAz+kABZHMtuy7BbK++lo2X60FSkmpCXVg+EBI3slgZ +if75IqP0HwUYqSz9fVu6tvZtxZ5u1V+H9xT0FbGx2yGlqIDZnC/++/FRdXEudYgXrk+qB FsgGZiiqqFwQnz799jmpnDm2PW/QruU= 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 dfw.source.kernel.org (Postfix) with ESMTPS id 3108163E73; Wed, 17 May 2023 13:12:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7145AC4331F; Wed, 17 May 2023 13:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684329167; bh=GzyYzd/7tEPxQhzzg+PJ/PWcyEzzBXzJLcduAakWhaY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=niHVPUaD0YGdt5iRkDpEydf7mr631oogoVQvkL81qpJ5TW0/YDUHFkUu/ZKWJdSyH WVXjhzTUAGxnOs0Vegl0ZmfHCdPZuJ7YUjlFkitUTUNbJVo7lI5FO1LgLzd52JuqCx Wr1JJezEgRxZbp9NdZwExiCGViAREtrVIVavopDauE3wvvOAYNu+BznmFcHd0fJK4u wZIaM4wBxCe+a/H0IRCT0p9ml11d7gsP+vlmdEZuhfHUfwxnHCQLwlRz2WmfAlqtqM +0195gf2dqreO3HDtP8xhqKkWgE47ff7qay5jg24K0FITidNlAbdN4XuegelYOnMhE eS4jr0xmyomCA== From: Arnd Bergmann To: Andrew Morton Cc: linux-mm@kvack.org, Arnd Bergmann , Russell King , Catalin Marinas , Will Deacon , Michal Simek , Thomas Bogendoerfer , Helge Deller , Michael Ellerman , Palmer Dabbelt , Heiko Carstens , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "Rafael J. Wysocki" , Paul Moore , Eric Paris , Dennis Zhou , Tejun Heo , Christoph Lameter , Pavel Machek , Peter Zijlstra , Waiman Long , Boqun Feng , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, audit@vger.kernel.org, linux-pm@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com Subject: [PATCH 09/14] kunit: include debugfs header file Date: Wed, 17 May 2023 15:10:57 +0200 Message-Id: <20230517131102.934196-10-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230517131102.934196-1-arnd@kernel.org> References: <20230517131102.934196-1-arnd@kernel.org> MIME-Version: 1.0 X-Rspam-User: X-Stat-Signature: qcso9fi36emfss1g8c6ptunb3fkg157j X-Rspamd-Server: rspam08 X-Rspamd-Queue-Id: 108BEA0011 X-HE-Tag: 1684329168-895159 X-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aMgzUEp9tKRyn18IkkcfJLuAZOqmHUwDyJhyjC7ZZXSC49x1icNZQoP129QJZE/b0imAaNeHOfKbC7YVqKy1WD1w2lGF+D2xa359orSxeDxr+9dd3x9/b+aOfyYg0lN9G8wescpDDJXnxygB/OY66Y0UCjOgqH5Hp9Rnu/ZwgpuTVORRpU6bi+k5XgPs5FSk9bOm9EtLlGmXMWHahNf0/Ds32RaaKUyo2vpY8JhJlT9Ln0EsYlBn/glaNR5nZIxgt+PDX9EdV9/1InRdmeuSxMa49W1ikkg0O 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: Arnd Bergmann An extra #include statement is needed to ensure the prototypes for debugfs interfaces are visible, avoiding this warning: lib/kunit/debugfs.c:28:6: error: no previous prototype for 'kunit_debugfs_cleanup' [-Werror=missing-prototypes] lib/kunit/debugfs.c:33:6: error: no previous prototype for 'kunit_debugfs_init' [-Werror=missing-prototypes] lib/kunit/debugfs.c:102:6: error: no previous prototype for 'kunit_debugfs_create_suite' [-Werror=missing-prototypes] lib/kunit/debugfs.c:118:6: error: no previous prototype for 'kunit_debugfs_destroy_suite' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann Reviewed-by: David Gow --- lib/kunit/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kunit/debugfs.c b/lib/kunit/debugfs.c index b08bb1fba106..22c5c496a68f 100644 --- a/lib/kunit/debugfs.c +++ b/lib/kunit/debugfs.c @@ -10,6 +10,7 @@ #include #include "string-stream.h" +#include "debugfs.h" #define KUNIT_DEBUGFS_ROOT "kunit" #define KUNIT_DEBUGFS_RESULTS "results"