LKML Archive on
help / color / mirror / Atom feed
From: kernel test robot <>
To: Chao Yu <>, Chao Yu <>
Cc:, Chao Yu <>,
	Chao Yu <>,
Subject: [chao-linux:dev 5/9] fs/f2fs/f2fs.h:4026:13: warning: 'struct extent_info_unaligned' declared inside parameter list will not be visible outside of this definition or declaration
Date: Tue, 3 Aug 2021 18:12:23 +0800	[thread overview]
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 3804 bytes --]

tree: dev
head:   59154a9e8e9377791052a88a285a925619ce0ed5
commit: c3a40f6a186ba064f95432b308173d0a8fe375dc [5/9] f2fs: extent cache: support unaligned extent
config: h8300-randconfig-r013-20210803 (attached as .config)
compiler: h8300-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add chao-linux
        git fetch --no-tags chao-linux dev
        git checkout c3a40f6a186ba064f95432b308173d0a8fe375dc
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash fs/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

All warnings (new ones prefixed by >>):

   In file included from fs/f2fs/dir.c:13:
>> fs/f2fs/f2fs.h:4026:13: warning: 'struct extent_info_unaligned' declared inside parameter list will not be visible outside of this definition or declaration
    4026 |      struct extent_info_unaligned *eiu);
         |             ^~~~~~~~~~~~~~~~~~~~~

vim +4026 fs/f2fs/f2fs.h

  3993	/*
  3994	 * extent_cache.c
  3995	 */
  3996	struct rb_entry *f2fs_lookup_rb_tree(struct rb_root_cached *root,
  3997					struct rb_entry *cached_re, unsigned int ofs);
  3998	struct rb_node **f2fs_lookup_rb_tree_ext(struct f2fs_sb_info *sbi,
  3999					struct rb_root_cached *root,
  4000					struct rb_node **parent,
  4001					unsigned long long key, bool *left_most);
  4002	struct rb_node **f2fs_lookup_rb_tree_for_insert(struct f2fs_sb_info *sbi,
  4003					struct rb_root_cached *root,
  4004					struct rb_node **parent,
  4005					unsigned int ofs, bool *leftmost);
  4006	struct rb_entry *f2fs_lookup_rb_tree_ret(struct rb_root_cached *root,
  4007			struct rb_entry *cached_re, unsigned int ofs,
  4008			struct rb_entry **prev_entry, struct rb_entry **next_entry,
  4009			struct rb_node ***insert_p, struct rb_node **insert_parent,
  4010			bool force, bool *leftmost);
  4011	bool f2fs_check_rb_tree_consistence(struct f2fs_sb_info *sbi,
  4012					struct rb_root_cached *root, bool check_key);
  4014	void f2fs_update_extent_tree_range_unaligned(struct inode *inode,
  4015					pgoff_t fofs, block_t blkaddr, unsigned int llen,
  4016					unsigned int plen);
  4017	#endif
  4018	unsigned int f2fs_shrink_extent_tree(struct f2fs_sb_info *sbi, int nr_shrink);
  4019	void f2fs_init_extent_tree(struct inode *inode, struct page *ipage);
  4020	void f2fs_drop_extent_tree(struct inode *inode);
  4021	unsigned int f2fs_destroy_extent_node(struct inode *inode);
  4022	void f2fs_destroy_extent_tree(struct inode *inode);
  4023	bool f2fs_lookup_extent_cache(struct inode *inode, pgoff_t pgofs,
  4024				struct extent_info *ei);
  4025	bool f2fs_lookup_extent_cache_unaligned(struct inode *inode, pgoff_t pgofs,
> 4026						struct extent_info_unaligned *eiu);
  4027	void f2fs_update_extent_cache(struct dnode_of_data *dn);
  4028	void f2fs_update_extent_cache_range(struct dnode_of_data *dn,
  4029				pgoff_t fofs, block_t blkaddr, unsigned int len);
  4030	void f2fs_init_extent_cache_info(struct f2fs_sb_info *sbi);
  4031	int __init f2fs_create_extent_cache(void);
  4032	void f2fs_destroy_extent_cache(void);

0-DAY CI Kernel Test Service, Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26345 bytes --]

                 reply	other threads:[~2021-08-03 10:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [chao-linux:dev 5/9] fs/f2fs/f2fs.h:4026:13: warning: '\''struct extent_info_unaligned'\'' declared inside parameter list will not be visible outside of this definition or declaration' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).