Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1934450rwi; Fri, 28 Oct 2022 00:24:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7OP+oNBAThJ5hOpOldagDv0L/phIaEvXOYsLGp0LMhJrEUwu+33dlJbqn2rdLqkwRDTHpk X-Received: by 2002:a63:ed58:0:b0:439:b3a:4f01 with SMTP id m24-20020a63ed58000000b004390b3a4f01mr45637575pgk.327.1666941876176; Fri, 28 Oct 2022 00:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666941876; cv=none; d=google.com; s=arc-20160816; b=xuUtAvTeS7zWHa6iZGm5pj5AvBkiJx6DtgPOC/3nGICSCI9QxNbsUtTB81h+DYfjPM fYo3XnYXInv1rfQ44hfgcemRq/uo8pSCi652Dm2Zde742LB1RPdHDE3GeLXyBOEmYi8i 80bvAEbPsaqJ4x2TdUbfEB/jNxG1+YY3aXW+KmClL4VY48pLW0ev3aXZsVeH+eEVtq2Q ru/Z1ver3J9azX7FHJl3SRZAgN14RDXEGAVk9azyXbFAe+H62Kop52FuzINMEBNbFwhx S2VGsURoqdwZVNxyZhCS3TBGPvs3c7gqIKzqLKsj1EsqEEbgFrtTjh0MtxgUwbq8SGr2 bkHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:abuse-reports-to:tuid:mime-version:message-id :date:subject:cc:to:from; bh=UIe2VIrFbm671u5wnl9jadoSVmbFAxzu6gkpk1kPKvM=; b=tk8zZI8n5rLR9R+XGnlQBJA6UVs6O/ZD782ZthEOqcAQhDTZJgcHXbUMDE1LAKheBX 4gD3uaar1Vb2UhMreB7J2rDqfJpz4l4WTAz4Qlf10fNb0pIUhbpRzsZgcdNbOwBGQREe IEmP4F/KUnAvyvvjjcnTVDqMeRZEudvK9IDN93GZDVtVhE9bmk7kDvzoPCRCOwjz4EMj sT9SJjM9SH112n9CDYYeGbTq3d7zd8X62GN1BEEAN3C4MGVOlP8Mdpau/GrJFuEN6W3j WehYZVQyr0k6Yy2h3J6S3R7Jv+bjMnhC9Y3vMkHRCLR8dqSFO72umXkqbJRLO5p2uzyI 4lLA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj8-20020a17090b3e8800b00205e1caca43si5048632pjb.34.2022.10.28.00.24.25; Fri, 28 Oct 2022 00:24:36 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229827AbiJ1GbV (ORCPT + 99 others); Fri, 28 Oct 2022 02:31:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229738AbiJ1GbQ (ORCPT ); Fri, 28 Oct 2022 02:31:16 -0400 Received: from unicom145.biz-email.net (unicom145.biz-email.net [210.51.26.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56FBA10C4E8; Thu, 27 Oct 2022 23:31:12 -0700 (PDT) Received: from ([60.208.111.195]) by unicom145.biz-email.net ((D)) with ASMTP (SSL) id WGH00009; Fri, 28 Oct 2022 14:31:09 +0800 Received: from localhost.localdomain (10.200.104.97) by jtjnmail201607.home.langchao.com (10.100.2.7) with Microsoft SMTP Server id 15.1.2507.12; Fri, 28 Oct 2022 14:31:08 +0800 From: Bo Liu To: , CC: , , , Bo Liu Subject: [PATCH] kunit: Include missing header Date: Fri, 28 Oct 2022 02:30:55 -0400 Message-ID: <20221028063055.2817-1-liubo03@inspur.com> X-Mailer: git-send-email 2.18.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.200.104.97] tUid: 20221028143109f24a302985491c280d98218309c435e6 X-Abuse-Reports-To: service@corp-email.com Abuse-Reports-To: service@corp-email.com X-Complaints-To: service@corp-email.com X-Report-Abuse-To: service@corp-email.com X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, 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 The file debugfs.c missed the header debugfs.h, which resulted on the following warning: lib/kunit/debugfs.c:28:6: warning: no previous prototype for 'kunit_debugfs_cleanup' [-Wmissing-prototypes] void kunit_debugfs_cleanup(void) ^~~~~~~~~~~~~~~~~~~~~ lib/kunit/debugfs.c:33:6: warning: no previous prototype for 'kunit_debugfs_init' [-Wmissing-prototypes] void kunit_debugfs_init(void) ^~~~~~~~~~~~~~~~~~ lib/kunit/debugfs.c:92:6: warning: no previous prototype for 'kunit_debugfs_create_suite' [-Wmissing-prototypes] void kunit_debugfs_create_suite(struct kunit_suite *suite) ^~~~~~~~~~~~~~~~~~~~~~~~~~ lib/kunit/debugfs.c:108:6: warning: no previous prototype for 'kunit_debugfs_destroy_suite' [-Wmissing-prototypes] void kunit_debugfs_destroy_suite(struct kunit_suite *suite) Signed-off-by: Bo Liu --- lib/kunit/debugfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kunit/debugfs.c b/lib/kunit/debugfs.c index 1048ef1b8d6e..83411075f614 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" -- 2.27.0