From patchwork Sun Sep 4 02:16:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 12965100 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 E5A2FECAAD5 for ; Sun, 4 Sep 2022 02:16:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 85D0D80176; Sat, 3 Sep 2022 22:16:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 80C5B8015A; Sat, 3 Sep 2022 22:16:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6FC3180176; Sat, 3 Sep 2022 22:16:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 604108015A for ; Sat, 3 Sep 2022 22:16:54 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 308A1C0721 for ; Sun, 4 Sep 2022 02:16:53 +0000 (UTC) X-FDA: 79872789906.13.FC5D560 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf01.hostedemail.com (Postfix) with ESMTP id 8107A4005F for ; Sun, 4 Sep 2022 02:16:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662257812; x=1693793812; h=subject:from:to:cc:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qfzx5y9B9XHcY/WNGZvpd9adYJw1q+hyjxJ0sZQS8JA=; b=TpnvUjBdWmfH5kqLUYq9fRmv7Akt2igcgUILmSmsLsJZcsGwHIcT5X9D 4/at/Xl7oNPj8LSDu9sXeISQhjy7gkAztKhQOyz0Qoe8d532Vq5YUx5+K eMwHRNDtbIve7L67OvDxOfiibVCdI84LW5jKJJN6ApHDISp9U2gYsL8sI cyXlULHOOjHyEoEn8WCuEz/Pf5pUOaeOSLWny16W4BY9il4RAX8ugL2FB GvaSqYC1kMOv7RifdUNIO1WjFzvtfQ3UyuHU4uTPkzzxHLyqmViQmyyi9 C9lSPpURwuTsQ1dlyWO3SEl1KZlfWmShB1SRbANFWyZJlOpHV09LzB632 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10459"; a="294943552" X-IronPort-AV: E=Sophos;i="5.93,288,1654585200"; d="scan'208";a="294943552" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2022 19:16:47 -0700 X-IronPort-AV: E=Sophos;i="5.93,288,1654585200"; d="scan'208";a="755659485" Received: from pg4-mobl3.amr.corp.intel.com (HELO dwillia2-xfh.jf.intel.com) ([10.212.132.198]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Sep 2022 19:16:46 -0700 Subject: [PATCH 08/13] devdax: Minor warning fixups From: Dan Williams To: akpm@linux-foundation.org Cc: hch@lst.de, linux-mm@kvack.org, nvdimm@lists.linux.dev, linux-fsdevel@vger.kernel.org Date: Sat, 03 Sep 2022 19:16:46 -0700 Message-ID: <166225780636.2351842.2332609175968045796.stgit@dwillia2-xfh.jf.intel.com> In-Reply-To: <166225775968.2351842.11156458342486082012.stgit@dwillia2-xfh.jf.intel.com> References: <166225775968.2351842.11156458342486082012.stgit@dwillia2-xfh.jf.intel.com> User-Agent: StGit/0.18-3-g996c MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1662257812; a=rsa-sha256; cv=none; b=OYh6Y0CVs/3S6WtVQKUrU4nFEXsTJ4tkGJ9NOjF4KUsQa4ObaeuJ5xV4VSpibtA6mzDT3F zGP+e67J/S5RoKcVkBneYZjSc5G766D/qB2snHXvaH1C4Y9rEmiJOohyEMFymEn+qUPW39 u8VaEtOBdQmrb3DLSbXCHy50PC08a9E= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=TpnvUjBd; spf=softfail (imf01.hostedemail.com: 192.55.52.120 is neither permitted nor denied by domain of dan.j.williams@intel.com) smtp.mailfrom=dan.j.williams@intel.com; dmarc=fail reason="No valid SPF" header.from=intel.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1662257812; 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=vpiP+FlG9ZMrkqxfR51cKA2+8ERhwD14wZ55V6/IGw3N9L/emloDOHWlPNDx9eZHjqycpV JkqvBAgDqxGozAD2r1BfilSKo24XW+4WSLfKhYF/4teBU56LggX/Y4vE9rrfjONxas6PZw BM4ubU9iBnuHK34nEXxURYKi3vNNOHo= X-Rspam-User: X-Stat-Signature: yiwyomkarg346snsgu9zuph4dcdruarn X-Rspamd-Queue-Id: 8107A4005F X-Rspamd-Server: rspam10 Authentication-Results: imf01.hostedemail.com; dkim=none ("invalid DKIM record") header.d=intel.com header.s=Intel header.b=TpnvUjBd; spf=softfail (imf01.hostedemail.com: 192.55.52.120 is neither permitted nor denied by domain of dan.j.williams@intel.com) smtp.mailfrom=dan.j.williams@intel.com; dmarc=fail reason="No valid SPF" header.from=intel.com (policy=none) X-HE-Tag: 1662257812-232073 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. */