Hi Chao, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on f2fs/dev-test] [also build test ERROR on v5.14-rc4 next-20210803] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Chao-Yu/f2fs-extent-cache-support-unaligned-extent/20210804-102614 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test config: i386-randconfig-a015-20210804 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/5c974bb7b3024da2ab740ed59459e96ef4b52d5c git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Chao-Yu/f2fs-extent-cache-support-unaligned-extent/20210804-102614 git checkout 5c974bb7b3024da2ab740ed59459e96ef4b52d5c # save the attached .config to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from fs/f2fs/dir.c:13: fs/f2fs/f2fs.h: In function '__is_extent_mergeable': >> fs/f2fs/f2fs.h:842:9: error: dereferencing pointer to incomplete type 'struct extent_info_unaligned' 842 | if (be->ei.len != be->plen || fe->ei.len != fe->plen) | ^~ -- In file included from fs/f2fs/extent_cache.c:14: fs/f2fs/f2fs.h: In function '__is_extent_mergeable': >> fs/f2fs/f2fs.h:842:9: error: dereferencing pointer to incomplete type 'struct extent_info_unaligned' 842 | if (be->ei.len != be->plen || fe->ei.len != fe->plen) | ^~ fs/f2fs/extent_cache.c: In function '__attach_extent_node': fs/f2fs/extent_cache.c:251:5: error: 'struct extent_node' has no member named 'plen' 251 | en->plen = ((struct extent_info_unaligned *)ei)->plen; | ^~ >> fs/f2fs/extent_cache.c:251:50: error: dereferencing pointer to incomplete type 'struct extent_info_unaligned' 251 | en->plen = ((struct extent_info_unaligned *)ei)->plen; | ^~ vim +842 fs/f2fs/f2fs.h 832 833 static inline bool __is_extent_mergeable(struct extent_info *back, 834 struct extent_info *front, bool unaligned) 835 { 836 if (unaligned) { 837 struct extent_info_unaligned *be = 838 (struct extent_info_unaligned *)back; 839 struct extent_info_unaligned *fe = 840 (struct extent_info_unaligned *)front; 841 > 842 if (be->ei.len != be->plen || fe->ei.len != fe->plen) 843 return false; 844 } 845 846 return (back->fofs + back->len == front->fofs && 847 back->blk + back->len == front->blk); 848 } 849 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org