From patchwork Mon Dec 3 05:53:43 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: 203293 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 B97A32C00B9 for ; Mon, 3 Dec 2012 16:54:22 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751447Ab2LCFyU (ORCPT ); Mon, 3 Dec 2012 00:54:20 -0500 Received: from mga09.intel.com ([134.134.136.24]:55660 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293Ab2LCFyU (ORCPT ); Mon, 3 Dec 2012 00:54:20 -0500 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 02 Dec 2012 21:53:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,204,1355126400"; d="diff'?scan'208";a="228090678" Received: from bee.sh.intel.com (HELO localhost) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 02 Dec 2012 21:54:16 -0800 Received: from [192.168.1.61] (helo=snb.lkp.intel.com) by localhost with smtp (Exim 4.80) (envelope-from ) id 1TfOyI-000Ske-LO; Mon, 03 Dec 2012 13:53:38 +0800 Date: Mon, 03 Dec 2012 13:53:43 +0800 From: kbuild test robot To: Tao Ma Cc: linux-ext4@vger.kernel.org, "Theodore Ts'o" Subject: [ext4:dev 54/60] fs/ext4/xattr.c:999:5: sparse: symbol 'ext4_xattr_ibody_set' was not declared. Should it be static? Message-ID: <50bc3e67.aUvaPpYYPGZetZCY%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: e9f49e454264c1cdd793552bfeb44f337508201b commit: 00002fa945a62d74ace3da9da0bc8660500e4c8b [54/60] ext4: evict inline data out if we need to strore xattr in inode sparse warnings: fs/ext4/xattr.c:127:13: sparse: incorrect type in assignment (different base types) fs/ext4/xattr.c:127:13: expected unsigned int [unsigned] [usertype] old fs/ext4/xattr.c:127:13: got restricted __le32 [usertype] h_checksum fs/ext4/xattr.c:129:18: sparse: incorrect type in assignment (different base types) fs/ext4/xattr.c:129:18: expected unsigned long long [unsigned] [usertype] block_nr fs/ext4/xattr.c:129:18: got restricted __le64 [usertype] fs/ext4/xattr.c:135:25: sparse: incorrect type in assignment (different base types) fs/ext4/xattr.c:135:25: expected restricted __le32 [usertype] h_checksum fs/ext4/xattr.c:135:25: got unsigned int [unsigned] [usertype] old + fs/ext4/xattr.c:999:5: sparse: symbol 'ext4_xattr_ibody_set' 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/xattr.c b/fs/ext4/xattr.c index 18e565d..bbf4852 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xattr.c @@ -996,7 +996,7 @@ int ext4_xattr_ibody_inline_set(handle_t *handle, struct inode *inode, return 0; } -int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode, +static int ext4_xattr_ibody_set(handle_t *handle, struct inode *inode, struct ext4_xattr_info *i, struct ext4_xattr_ibody_find *is) {