Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1636684rwn; Thu, 15 Sep 2022 20:39:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4xUCmcSUHo/PgWPntKev5r/kVzQc+yNqNE3GcXCR+nQKf6G0JZE9ZIf0qZwUYGJimtfc8n X-Received: by 2002:a63:6:0:b0:439:70ee:ca31 with SMTP id 6-20020a630006000000b0043970eeca31mr2627227pga.489.1663299546220; Thu, 15 Sep 2022 20:39:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663299546; cv=none; d=google.com; s=arc-20160816; b=YXysgwEgVfKGDLGSsbAacJLkIDZSWDCHZr97rPKFdNO+FnCRoIQKxqKB1xiD/r1nL/ iQKBN8AUu1WoZQa5bDqmPPt7mk6O5xuJF1Pkh/1F4+SPXK5bJMfxbo32qAtOulZCPeoT sJ4cEJO+oqCvBBNQz+tGW4BawAcVI+samS7nL+fp8cxSl8hs8UEp35apPiUvlbgeBhi3 rxNTXgHM+fR9VPsj54DJMmUwsSqQzwUBh9KFmaCo2mg1NnaM0U+cig1KCFln6y2zbKRQ nxl6tPvZjx+8wMxKWUztrPmexkH0gzKvDMXTTDHVu7SXAIzHezY3aw49O+kq8NhBckmU 4V+g== 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 :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature; bh=1vgZdDU9Ny4uGe480EWaiLp5fsg1lyKdoZ2O0fPs0wc=; b=iOl/25PekG6E0087K1Y/3KpccGbFhRN20vorC3UkB/fIOctRpaccLVTo/yCLuQJclQ LtvcABs5LvF9Ysdz8ToultFD0UIp7Qw6JrZvRGfxpzrkgRNy4vyeY/pIG7FcsCyBe60r ZpD4xwlY54DGAQGmMRVpkeMeatSiuDbuYo+SXrEc/Uj4C1V12QBJoI6n+5jdQiMnEjZP Df1dr+8cTxw2Pn88AR3TTbqNi4Fp4kt643LRuXm0o50l/2LbH4ZVUouPJVx3Cz9edqQo AqMrf3swamlg7HuH4DLA5YBHu/jcPziLEtc1IIhpUKmy+gJZRTy0pWZulaiwAJwCo42M f5HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=eWigBSlj; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r11-20020a17090aa08b00b002007ef7a2a0si1181048pjp.71.2022.09.15.20.38.53; Thu, 15 Sep 2022 20:39:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@intel.com header.s=Intel header.b=eWigBSlj; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229905AbiIPDgo (ORCPT + 99 others); Thu, 15 Sep 2022 23:36:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229773AbiIPDgS (ORCPT ); Thu, 15 Sep 2022 23:36:18 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1F8B89809; Thu, 15 Sep 2022 20:36:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663299373; x=1694835373; h=subject:from:to:cc:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qfzx5y9B9XHcY/WNGZvpd9adYJw1q+hyjxJ0sZQS8JA=; b=eWigBSljAb7z3Tke61JlKS+I5LMhsoVPUuVMsyfbmv1wmpceppEtGHnl Ef8T/rnnqSilGFUJC5+qCkeFdvJF5fxFxNq9XIbxk+D8YiRKY9i/AxWn8 MIBXf6yFYEJfARh1927+PB1T43ejxqmHfeiCXYMNOFO8sG5wMhMpHPqyq F3Cw0AmIrRLKzsHoowMreQ/0CVTVCVWaTHAzG0VWvpXVf873ywPrkOPSK vX2FMlyhFunJuU9iyZWa8cZxocZ+hkmRdO5+yVrKs6+ce13H0/5qzynxU la0rMnC0xCCCBilPJ2ZDZMiLWwxFVOPpGp2tYt2cOv698GODiAZPxUQc3 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10471"; a="325170420" X-IronPort-AV: E=Sophos;i="5.93,319,1654585200"; d="scan'208";a="325170420" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2022 20:36:13 -0700 X-IronPort-AV: E=Sophos;i="5.93,319,1654585200"; d="scan'208";a="648099963" Received: from colinlix-mobl.amr.corp.intel.com (HELO dwillia2-xfh.jf.intel.com) ([10.209.29.52]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2022 20:36:13 -0700 Subject: [PATCH v2 11/18] devdax: Minor warning fixups From: Dan Williams To: akpm@linux-foundation.org Cc: hch@lst.de, linux-fsdevel@vger.kernel.org, nvdimm@lists.linux.dev, linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-ext4@vger.kernel.org Date: Thu, 15 Sep 2022 20:36:13 -0700 Message-ID: <166329937313.2786261.6805174536617254263.stgit@dwillia2-xfh.jf.intel.com> In-Reply-To: <166329930818.2786261.6086109734008025807.stgit@dwillia2-xfh.jf.intel.com> References: <166329930818.2786261.6086109734008025807.stgit@dwillia2-xfh.jf.intel.com> User-Agent: StGit/0.18-3-g996c MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE 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-ext4@vger.kernel.org Fix a missing prototype warning for dev_dax_probe(), and fix dax_holder() comment block format. Signed-off-by: Dan Williams --- drivers/dax/dax-private.h | 1 + drivers/dax/super.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dax/dax-private.h b/drivers/dax/dax-private.h index 1c974b7caae6..202cafd836e8 100644 --- a/drivers/dax/dax-private.h +++ b/drivers/dax/dax-private.h @@ -87,6 +87,7 @@ static inline struct dax_mapping *to_dax_mapping(struct device *dev) } phys_addr_t dax_pgoff_to_phys(struct dev_dax *dev_dax, pgoff_t pgoff, unsigned long size); +int dev_dax_probe(struct dev_dax *dev_dax); #ifdef CONFIG_TRANSPARENT_HUGEPAGE static inline bool dax_align_valid(unsigned long align) diff --git a/drivers/dax/super.c b/drivers/dax/super.c index 9b5e2a5eb0ae..4909ad945a49 100644 --- a/drivers/dax/super.c +++ b/drivers/dax/super.c @@ -475,7 +475,7 @@ EXPORT_SYMBOL_GPL(put_dax); /** * dax_holder() - obtain the holder of a dax device * @dax_dev: a dax_device instance - + * * Return: the holder's data which represents the holder if registered, * otherwize NULL. */