Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp8087959pxu; Sat, 26 Dec 2020 15:56:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJz9VMPO8CFvXLYaNyFKuU0nMstJTFuBreU9pdqajaSjW0BIKRWYYcKeHMYz3G/eIoRFVn8R X-Received: by 2002:a17:906:1f07:: with SMTP id w7mr14170737ejj.519.1609026994443; Sat, 26 Dec 2020 15:56:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609026994; cv=none; d=google.com; s=arc-20160816; b=IK5AePyVK6d/x82KglnQlA16gD38VvkrIjEKLUaBQScyiNjWuyixH1mFykGBKYqLqm ywk+lV8gN8Cky2HYvrO2A2ALljmHj1ucGeB91ovshEia79O/plL4ZRgcXeqLnfSbEVmK cVcu9LgpC5BVb3c76a9xkMzJRy64teme5ZYNzCsF5RYm7+bCCqE1coWRl6gyEMGZLCif kCsmz+6sEPxnnWNiok3flaqXbO3l/J5q3+h20CLX/EvHgepQ+ylF5lQ3EokAChuk8lac SZAIE1ow1/gdImNQQuSgfWj/bLKOapHKRaRxqG0dAeWPQNznNZ6XWWd3hrMLAdEBs0se 5ERw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=iQwE0zPZOE1xzX4v7ef3z9RHQuNL/ZqZrPLhG8Vuhjk=; b=TiLa4UEweDXRW/1C/C07zZR3EMs9+nLbajCy94xtWfbJk1/fcZmcGZDE6uvNAjXsKP zWnvfHxKGLiYgq1Usf2Kx3hIYVFBBPQHh0izGqi/DbeSiiJFKln4W9uiBXmkMt58m+UA mC8ADuAPCoDqJsBTY/VGH282FyuDCDXSrScbG0nO3feoidAGS5XCkcOjX0Uk9OUPGvMe et65+1TKoZJcOZuhSl+Dao5LQR0vrC8I8Ry1ivXnlgLFDqS7ERzkW3hydcxF+7E7fBKo tiq7mQqugevQV8B7e+5WU+wi0Pr/gLuimknI30h6/XqHfbPFWF9fAX3abn+pt2xFzXb7 dpgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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. [23.128.96.18]) by mx.google.com with ESMTP id bx8si17209663ejb.664.2020.12.26.15.56.03; Sat, 26 Dec 2020 15:56:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S1725979AbgLZXzo (ORCPT + 99 others); Sat, 26 Dec 2020 18:55:44 -0500 Received: from mga18.intel.com ([134.134.136.126]:49842 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbgLZXzn (ORCPT ); Sat, 26 Dec 2020 18:55:43 -0500 IronPort-SDR: sEVpXbpmnePxYDD1CViCoP5umSVyihDbOU2wUMpDesLBKA7xsYrIHqwri9YPlxwYkdnAZUrfc7 Dxclznhs3eGw== X-IronPort-AV: E=McAfee;i="6000,8403,9846"; a="163999153" X-IronPort-AV: E=Sophos;i="5.78,451,1599548400"; d="scan'208";a="163999153" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Dec 2020 15:54:59 -0800 IronPort-SDR: OzOJCPEV1lW3n4K1xsV9/KWSIH1sUj9JB+0Ix0MVDSCye05nQMAsPAbIbFSgvS0HWGQfygr+Va FfMVjwrJdjMw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,451,1599548400"; d="scan'208";a="384156911" Received: from lkp-server02.sh.intel.com (HELO 4242b19f17ef) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 26 Dec 2020 15:54:58 -0800 Received: from kbuild by 4242b19f17ef with local (Exim 4.92) (envelope-from ) id 1ktJOj-0002DO-Np; Sat, 26 Dec 2020 23:54:57 +0000 Date: Sun, 27 Dec 2020 07:54:02 +0800 From: kernel test robot To: Chengguang Xu , jack@suse.com Cc: kbuild-all@lists.01.org, linux-ext4@vger.kernel.org, Chengguang Xu Subject: [RFC PATCH] ext2: ext2_page_mkwrite() can be static Message-ID: <20201226235402.GA43122@75b6b98162fe> References: <20201218132757.279685-1-cgxu519@mykernel.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201218132757.279685-1-cgxu519@mykernel.net> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Reported-by: kernel test robot Signed-off-by: kernel test robot --- file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ext2/file.c b/fs/ext2/file.c index a34119415ef16d..4a5dbf349f6e13 100644 --- a/fs/ext2/file.c +++ b/fs/ext2/file.c @@ -30,7 +30,7 @@ #include "xattr.h" #include "acl.h" -vm_fault_t ext2_page_mkwrite(struct vm_fault *vmf) +static vm_fault_t ext2_page_mkwrite(struct vm_fault *vmf) { struct vm_area_struct *vma = vmf->vma; struct inode *inode = file_inode(vma->vm_file); @@ -47,7 +47,7 @@ vm_fault_t ext2_page_mkwrite(struct vm_fault *vmf) return block_page_mkwrite_return(err); } -const struct vm_operations_struct ext2_vm_ops = { +static const struct vm_operations_struct ext2_vm_ops = { .fault = filemap_fault, .map_pages = filemap_map_pages, .page_mkwrite = ext2_page_mkwrite,