From patchwork Mon Dec 3 05:20:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kbuild test robot X-Patchwork-Id: 203290 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 095082C00B5 for ; Mon, 3 Dec 2012 16:21:14 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750784Ab2LCFVK (ORCPT ); Mon, 3 Dec 2012 00:21:10 -0500 Received: from mga14.intel.com ([143.182.124.37]:36000 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750766Ab2LCFVK (ORCPT ); Mon, 3 Dec 2012 00:21:10 -0500 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga102.ch.intel.com with ESMTP; 02 Dec 2012 21:21:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,204,1355126400"; d="diff'?scan'208";a="175269748" Received: from bee.sh.intel.com (HELO localhost) ([10.239.97.14]) by AZSMGA002.ch.intel.com with ESMTP; 02 Dec 2012 21:21:07 -0800 Received: from [192.168.1.61] (helo=snb.lkp.intel.com) by localhost with smtp (Exim 4.80) (envelope-from ) id 1TfOSD-000MnF-DJ; Mon, 03 Dec 2012 13:20:29 +0800 Date: Mon, 03 Dec 2012 13:20:34 +0800 From: kbuild test robot To: Tao Ma Cc: linux-ext4@vger.kernel.org, "Theodore Ts'o" Subject: [ext4:dev 45/57] fs/ext4/inline.c:1025:6: sparse: symbol 'ext4_get_inline_xattr_pos' was not declared. Should it be static? Message-ID: <50bc36a2.lAcRnrpMvOgx7DsQ%fengguang.wu@intel.com> User-Agent: Heirloom mailx 12.5 6/20/10 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.61 X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on localhost); SAEximRunCond expanded to false Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org tree: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev head: b0c30cdb0d3fcf5a04de4a46fceba767cf8be022 commit: 83cd81a477199a3f0c01a609069423d5c6e9805d [45/57] ext4: let add_dir_entry handle inline data properly sparse warnings: + fs/ext4/inline.c:1025:6: sparse: symbol 'ext4_get_inline_xattr_pos' was not declared. Should it be static? Please consider folding the attached diff :-) --- 0-DAY kernel build testing backend Open Source Technology Center Fengguang Wu, Yuanhan Liu Intel Corporation diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c index 89d6a25..a39b632 100644 --- a/fs/ext4/inline.c +++ b/fs/ext4/inline.c @@ -1022,7 +1022,7 @@ static int ext4_add_dirent_to_inline(handle_t *handle, return 1; } -void *ext4_get_inline_xattr_pos(struct inode *inode, struct ext4_iloc *iloc) +static void *ext4_get_inline_xattr_pos(struct inode *inode, struct ext4_iloc *iloc) { struct ext4_xattr_entry *entry; struct ext4_xattr_ibody_header *header;