From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754561AbbAXAee (ORCPT ); Fri, 23 Jan 2015 19:34:34 -0500 Received: from mga03.intel.com ([134.134.136.65]:9970 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750820AbbAXAea (ORCPT ); Fri, 23 Jan 2015 19:34:30 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,457,1418112000"; d="scan'208";a="516875207" Date: Sat, 24 Jan 2015 08:33:41 +0800 From: kbuild test robot To: Michael Halcrow Cc: kbuild-all@01.org, "Theodore Ts'o" , Uday Savagaonkar , Ildar Muslukhov , Andreas Dilger , linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH ext4] ext4 crypto: ext4_find_dest_de_crypt() can be static Message-ID: <20150124003341.GA46929@lkp-sb04> References: <201501240824.lsZlTlwQ%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201501240824.lsZlTlwQ%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fs/ext4/namei.c:2056:5: sparse: symbol 'ext4_find_dest_de_crypt' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 0bd6758..7bbf0f9 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -2053,7 +2053,7 @@ journal_error: } #ifdef CONFIG_EXT4_FS_ENCRYPTION -int ext4_find_dest_de_crypt(struct inode *dir, struct inode *inode, +static int ext4_find_dest_de_crypt(struct inode *dir, struct inode *inode, struct buffer_head *bh, void *buf, int buf_size, const char *name, int namelen,