Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1060739imm; Fri, 29 Jun 2018 10:41:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpejFaOPoCon1iuEtkiWzNhlhMhPIjp4NH20o2LZYLgoLkRRAKqCNV0DrWqqKe5pW6dg7fmM X-Received: by 2002:a62:4bc6:: with SMTP id d67-v6mr9133475pfj.175.1530294067250; Fri, 29 Jun 2018 10:41:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530294067; cv=none; d=google.com; s=arc-20160816; b=YGxPDQuC0F4JMSu/IBd6Urqazn0mi9ieNtiMbzPmkLt+UEhKaA5PoMQVTPZkUQIFlI ldieyGFRPj1q1X4T+pG5PbLh2WIj9HP/x7epK1juTUNsw28Bye07uVR9gF6KHlDWi7bB yj3QVocVAEuIwL1+xMwrASzkcPg8WijFv9mYa/RZhfXjztzf4fvtgLAmCM8UrSADNmSo 39qUykibYz0Q/RSBm4WDGX9DiuYU6gQBPefCjVwIvAA5vaBPkGoEpnHsrSK9wwN8YZf0 iwsLFMUFc6m+1Fuf30NQlzbU/wGltNlW3AxwY/gvLHOazPeMB4k6pYg5ieOZsy4WHDJd W/Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=ttwFebgBaSHLqlMGLnyBGAzRYG76uS4+906brf5Sw7s=; b=ObHqamzyySqKgpamWUAi7F5ellahyI46v5LYSbIGiYLkp5GZhrv5wRKuJhgpU5ZXbd KsQ+zun8aPB33nrBaK3K/3/7l3SCDo3H+JPXqQH0q0x88DrwfBvvwgH6IZprXuIw9s+X bZWyQvqzgHdAxjRIl+HcsrTsVaoMEZQPLsdmxmLQw4jhZcdhjEeRLiosRC8d6osxorhn BRZmamW2p6O57Dvyxs2f3hKH9Nb6qa11ayuTwVO9gAXcpCz0dFGZ4mFjvRatG7lkEtPh LRR5KClXgx8n62kPWWaaR3Wkpe68jacLJg+uCMD7laK8tj4k30KkOfh7pddaCk/U5bvJ 2Z6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v26-v6si8462048pge.323.2018.06.29.10.40.52; Fri, 29 Jun 2018 10:41:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933985AbeF2Ra6 (ORCPT + 99 others); Fri, 29 Jun 2018 13:30:58 -0400 Received: from mga17.intel.com ([192.55.52.151]:17766 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932548AbeF2Ra4 (ORCPT ); Fri, 29 Jun 2018 13:30:56 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jun 2018 10:30:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,286,1526367600"; d="scan'208";a="67446535" Received: from theros.lm.intel.com (HELO linux.intel.com) ([10.232.112.164]) by fmsmga004.fm.intel.com with ESMTP; 29 Jun 2018 10:30:55 -0700 Date: Fri, 29 Jun 2018 11:30:55 -0600 From: Ross Zwisler To: Matthew Wilcox Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara , Jeff Layton , Lukas Czerner , Ross Zwisler , Christoph Hellwig , Goldwyn Rodrigues , Nicholas Piggin , Ryusuke Konishi , linux-nilfs@vger.kernel.org, Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net Subject: Re: [PATCH v14 68/74] dax: Convert dax_lock_page to XArray Message-ID: <20180629173055.GA2973@linux.intel.com> Mail-Followup-To: Ross Zwisler , Matthew Wilcox , linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara , Jeff Layton , Lukas Czerner , Christoph Hellwig , Goldwyn Rodrigues , Nicholas Piggin , Ryusuke Konishi , linux-nilfs@vger.kernel.org, Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net References: <20180617020052.4759-1-willy@infradead.org> <20180617020052.4759-69-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180617020052.4759-69-willy@infradead.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 16, 2018 at 07:00:46PM -0700, Matthew Wilcox wrote: > Signed-off-by: Matthew Wilcox > --- <> > +static void *dax_make_page_entry(struct page *page, void *entry) > +{ > + pfn_t pfn = page_to_pfn_t(page); > + return dax_make_entry(pfn, dax_is_pmd_entry(entry)); > +} This function is defined and never used, so we get: fs/dax.c:106:14: warning: ‘dax_make_page_entry’ defined but not used [-Wunused-function] static void *dax_make_page_entry(struct page *page, void *entry) ^~~~~~~~~~~~~~~~~~~