From patchwork Fri Oct 28 06:30:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bo Liu X-Patchwork-Id: 12089 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp657636wru; Thu, 27 Oct 2022 23:40:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4/c2j7ZAc1RGVN1oa1XBanDA2NmeWL8vzPxFW5RcXdEp5+k1vIK6HSojmir/3B/VRoJDki X-Received: by 2002:a17:902:7b87:b0:179:ec0a:7239 with SMTP id w7-20020a1709027b8700b00179ec0a7239mr54903993pll.139.1666939217655; Thu, 27 Oct 2022 23:40:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666939217; cv=none; d=google.com; s=arc-20160816; b=mFsRtOPcRvTvAkB6kvwC/bAAMlOm2FFjyvS80ajdHVAzLAK8oGwoDpuv0wC/3hgOIU PULFCgJ2mYCM39LQkW7K/0egsDXoTjMPL+EGg+0aF0G7KPk8qenHSwEhDU0Cs8QiiVuO dh7Fh5m6bHB5TXdpABDQhdJ6E6hvgKtRkgcEMpezOkmaztK3VjjvAQQFoKD/pKHpas1W EePXo1ugNt0laMxgZwKb5dZONRUe9gqR+o6wgzrhIHeN2/ovqdSsI9nUi2VdjKrO2p2g rutUOL8gv29hLKaR3ZTS1LO1YgYNC0zR3CveoeyvMDCn7DR0KEy/a98gIkqYzL6gRxK9 /6HQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ot8-20020a17090b3b4800b00200919a55b1si10400058pjb.180.2022.10.27.23.40.03; Thu, 27 Oct 2022 23:40:17 -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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747912457216279984?= X-GMAIL-MSGID: =?utf-8?q?1747912457216279984?= 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 Tested-by: Daniel Latypov --- 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"