From patchwork Fri Sep 25 09:18:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Yan X-Patchwork-Id: 11799405 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A1086CA for ; Fri, 25 Sep 2020 09:17:15 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 04C70206E5 for ; Fri, 25 Sep 2020 09:17:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 04C70206E5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 93468154ABA2F; Fri, 25 Sep 2020 02:17:13 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=45.249.212.191; helo=huawei.com; envelope-from=yanaijie@huawei.com; receiver= Received: from huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 73989154AB9D0 for ; Fri, 25 Sep 2020 02:17:11 -0700 (PDT) Received: from DGGEMS409-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 1D830E16A961C7126E79; Fri, 25 Sep 2020 17:17:08 +0800 (CST) Received: from huawei.com (10.175.127.227) by DGGEMS409-HUB.china.huawei.com (10.3.19.209) with Microsoft SMTP Server id 14.3.487.0; Fri, 25 Sep 2020 17:17:01 +0800 From: Jason Yan To: , , , , Subject: [PATCH] device-dax: include bus.h in super.c Date: Fri, 25 Sep 2020 17:18:06 +0800 Message-ID: <20200925091806.1860663-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-Originating-IP: [10.175.127.227] X-CFilter-Loop: Reflected Message-ID-Hash: JWQSWMU4Q3CKSYEIMULQSHTLZRULE7QF X-Message-ID-Hash: JWQSWMU4Q3CKSYEIMULQSHTLZRULE7QF X-MailFrom: yanaijie@huawei.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation CC: Jason Yan , Hulk Robot X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: This addresses the following sparse warning: drivers/dax/super.c:452:6: warning: symbol 'run_dax' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/dax/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dax/super.c b/drivers/dax/super.c index edc279be3e59..2cf6faf265c5 100644 --- a/drivers/dax/super.c +++ b/drivers/dax/super.c @@ -16,6 +16,7 @@ #include #include #include "dax-private.h" +#include "bus.h" static dev_t dax_devt; DEFINE_STATIC_SRCU(dax_srcu);