From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755587AbbJ2BKp (ORCPT ); Wed, 28 Oct 2015 21:10:45 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:56261 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751285AbbJ2BKn (ORCPT ); Wed, 28 Oct 2015 21:10:43 -0400 X-AuditID: cbfee61b-f79d56d0000048c5-5d-56317210a1c9 From: Chao Yu To: "'kbuild test robot'" Cc: kbuild-all@01.org, "'Jaegeuk Kim'" , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <01aa01d11166$d88de7d0$89a9b770$@samsung.com> <201510281853.iWVhWYTs%fengguang.wu@intel.com> In-reply-to: <201510281853.iWVhWYTs%fengguang.wu@intel.com> Subject: RE: [PATCH 1/2] f2fs: report error of f2fs_create_root_stats Date: Thu, 29 Oct 2015 09:09:50 +0800 Message-id: <01d901d111e6$a04b8870$e0e29950$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQHJmr/HH+sn25rsfnEp6kvZ1xLyUZ6Ql0cg Content-language: zh-cn X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKLMWRmVeSWpSXmKPExsVy+t9jAV2BIsMwg5XnlC2erJ/FbHHs+kRm i0uL3C0u75rDZvGq+RGbA6vH/b3sHov3vGTy2LSqk81j94LPTB6fN8kFsEZx2aSk5mSWpRbp 2yVwZUx8GVWwUb7iy3HbBsb3El2MnBwSAiYSfS2LGCFsMYkL99azdTFycQgJLGWUaDl0jgUk ISTwilFi415NEJtNQEViecd/JhBbREBdYsrFpawgDcwCjYwSW/+/ZIZoyJJoeHmVDcTmFLCW mDTnNFhcWMBVYsH+vWA2i4CqRP+Dp2CDeAUsJd6ua4CyBSV+TL4HtphZQEti/c7jTBC2vMTm NW+ZIS5VkNhx9jUjxBFGEvO3fGOFqBGX2HjkFssERqFZSEbNQjJqFpJRs5C0LGBkWcUokVqQ XFCclJ5rlJdarlecmFtcmpeul5yfu4kRHBnPpHcwHt7lfohRgINRiYd3gZFhmBBrYllxZe4h RgkOZiURXmkWoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeCxkaYUIC6YklqdmpqQWpRTBZJg5O qQZGucyrR0Ml/eSm+6zrYGRckLigskc9Z/GKw1XOC2TSO63vvOCUOvFPyumwvTtX3YwkbpUp 2qd1TPgXJKSZrqzvr5SX33+te+3W/+9mlZ6/s8/C+GXe/9tLFp3Mdbwu1ZLMtPSr8SazCQcV dm2JCtQoDrK+z6v4+/eqDLU+dzWnBzOOyrudf7pLiaU4I9FQi7moOBEAlGnX44gCAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Thanks for reporting this, I will fix it. :) Regards, > -----Original Message----- > From: kbuild test robot [mailto:lkp@intel.com] > Sent: Wednesday, October 28, 2015 6:30 PM > To: Chao Yu > Cc: kbuild-all@01.org; Jaegeuk Kim; linux-f2fs-devel@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/2] f2fs: report error of f2fs_create_root_stats > > Hi Chao, > > [auto build test WARNING on f2fs/dev -- if it's inappropriate base, please suggest rules for > selecting the more suitable base] > > url: > https://github.com/0day-ci/linux/commits/Chao-Yu/f2fs-report-error-of-f2fs_create_root_sta > ts/20151028-175937 > config: x86_64-randconfig-x015-201543 (attached as .config) > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > All warnings (new ones prefixed by >>): > > In file included from fs/f2fs/dir.c:13:0: > fs/f2fs/f2fs.h: In function 'f2fs_create_root_stats': > >> fs/f2fs/f2fs.h:2018:1: warning: no return statement in function returning non-void > [-Wreturn-type] > static inline int __init f2fs_create_root_stats(void) { } > ^ > -- > In file included from fs/f2fs/namei.c:19:0: > fs/f2fs/f2fs.h: In function 'f2fs_create_root_stats': > >> fs/f2fs/f2fs.h:2018:1: warning: no return statement in function returning non-void > [-Wreturn-type] > static inline int __init f2fs_create_root_stats(void) { } > ^ > fs/f2fs/namei.c: In function 'f2fs_symlink': > fs/f2fs/namei.c:414:59: warning: 'p_len' may be used uninitialized in this function > [-Wmaybe-uninitialized] > filemap_write_and_wait_range(inode->i_mapping, 0, p_len - 1); > ^ > -- > In file included from fs/f2fs/node.c:19:0: > fs/f2fs/f2fs.h: In function 'f2fs_create_root_stats': > >> fs/f2fs/f2fs.h:2018:1: warning: no return statement in function returning non-void > [-Wreturn-type] > static inline int __init f2fs_create_root_stats(void) { } > ^ > fs/f2fs/node.c: In function 'flush_nat_entries': > fs/f2fs/node.c:1920:11: warning: 'nat_blk' may be used uninitialized in this function > [-Wmaybe-uninitialized] > raw_ne = &nat_blk->entries[nid - start_nid]; > ^ > fs/f2fs/node.c:1883:25: note: 'nat_blk' was declared here > struct f2fs_nat_block *nat_blk; > ^ > > vim +2018 fs/f2fs/f2fs.h > > 2002 #define stat_inc_inline_xattr(inode) > 2003 #define stat_dec_inline_xattr(inode) > 2004 #define stat_inc_inline_inode(inode) > 2005 #define stat_dec_inline_inode(inode) > 2006 #define stat_inc_inline_dir(inode) > 2007 #define stat_dec_inline_dir(inode) > 2008 #define stat_inc_seg_type(sbi, curseg) > 2009 #define stat_inc_block_count(sbi, curseg) > 2010 #define stat_inc_inplace_blocks(sbi) > 2011 #define stat_inc_seg_count(sbi, type, gc_type) > 2012 #define stat_inc_tot_blk_count(si, blks) > 2013 #define stat_inc_data_blk_count(sbi, blks, gc_type) > 2014 #define stat_inc_node_blk_count(sbi, blks, gc_type) > 2015 > 2016 static inline int f2fs_build_stats(struct f2fs_sb_info *sbi) { return 0; } > 2017 static inline void f2fs_destroy_stats(struct f2fs_sb_info *sbi) { } > > 2018 static inline int __init f2fs_create_root_stats(void) { } > 2019 static inline void f2fs_destroy_root_stats(void) { } > 2020 #endif > 2021 > 2022 extern const struct file_operations f2fs_dir_operations; > 2023 extern const struct file_operations f2fs_file_operations; > 2024 extern const struct inode_operations f2fs_file_inode_operations; > 2025 extern const struct address_space_operations f2fs_dblock_aops; > 2026 extern const struct address_space_operations f2fs_node_aops; > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation