From patchwork Fri Sep 16 03:36:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 12978063 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 559F5C32771 for ; Fri, 16 Sep 2022 03:36:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E92828D0007; Thu, 15 Sep 2022 23:36:15 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E4E038D0002; Thu, 15 Sep 2022 23:36:15 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CE28D8D0007; Thu, 15 Sep 2022 23:36:15 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id BEB0A8D0002 for ; Thu, 15 Sep 2022 23:36:15 -0400 (EDT) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 9BDF0C0584 for ; Fri, 16 Sep 2022 03:36:15 +0000 (UTC) X-FDA: 79916535510.05.0D74AA6 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf08.hostedemail.com (Postfix) with ESMTP id 251101600AA for ; Fri, 16 Sep 2022 03:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663299375; x=1694835375; h=subject:from:to:cc:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qfzx5y9B9XHcY/WNGZvpd9adYJw1q+hyjxJ0sZQS8JA=; b=duC/wdcX3P/UACbq+maPmC3ScRGncvXOsXpsPCjhvYkTMKDHfo25HfkH pmLkS/+WtkmETM8/N8DjmiSLq9HOizy3Rn3TuDVOvTr6Fuh2BJNXegtv1 +uillFeIvA38VyEOthSIjiaB8WSY+Hl0fxtkQoQ9KZbq0SZQYtfuDnUGN Kin1o6Drr6pYKIcZ3E/gnmw4xiiF8EjPD7PKDB0PoG+XHCpQqXJg9BQvK FB0Eo8Q7khKo9Tza1WRhKNJ50Tf4Psj7Qf1XVTmHqTSgonCKY7n+u0Apo 4iOCHjrSp6oiYfxWxSyKHqQ1RBfzuKQw2ZOO5fPaw3HoEusCkXwitvTxr A==; X-IronPort-AV: E=McAfee;i="6500,9779,10471"; a="297625069" X-IronPort-AV: E=Sophos;i="5.93,319,1654585200"; d="scan'208";a="297625069" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.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 ARC-Authentication-Results: i=1; imf08.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="duC/wdcX"; spf=pass (imf08.hostedemail.com: domain of dan.j.williams@intel.com designates 192.55.52.120 as permitted sender) smtp.mailfrom=dan.j.williams@intel.com; dmarc=pass (policy=none) header.from=intel.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1663299375; a=rsa-sha256; cv=none; b=yVhfUyzWylxpmk9CQNvvvho5+AIalFm91eCTdNe6Gicxo7/9GXKW7NzkXUZE6YMh1UhAg8 wQDiYxum5qbmcTlusaAJFVtSFQSiouEQQ3VgZDuXriWCkR/v1PDvFNxXGS+Az42RYiJYwF Lw4sVHr8cNb3fcG+8p00LyzYZY48j+4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1663299375; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=1vgZdDU9Ny4uGe480EWaiLp5fsg1lyKdoZ2O0fPs0wc=; b=fEXJxbr+Hxs3tsB+EdO/lXoPoC26LxRTkC7Ucp0WYobdobPfmvyn2YXGD9E1SKFFjNz25P vOBA4QKDy63jhH05V0sIzZ6EjVo957Zb1gEEW8tvvfnY27/VMh/mgTPOhtlC/29nRF80aJ oYrXPsGLWiEIWhYO3fGr6GTx4wwGnfs= X-Rspamd-Queue-Id: 251101600AA X-Rspam-User: Authentication-Results: imf08.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b="duC/wdcX"; spf=pass (imf08.hostedemail.com: domain of dan.j.williams@intel.com designates 192.55.52.120 as permitted sender) smtp.mailfrom=dan.j.williams@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Stat-Signature: 7pb8q8d3hokaytcqpka6wc638esgqh7t X-Rspamd-Server: rspam04 X-HE-Tag: 1663299374-322394 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: 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. */