All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC v3] f2fs: extent cache: support unaligned extent
Date: Wed, 04 Aug 2021 14:52:33 +0800	[thread overview]
Message-ID: <202108041427.S6T0XEHx-lkp@intel.com> (raw)
In-Reply-To: <20210804022348.1414543-1-chao@kernel.org>

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

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 <lkp@intel.com>

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

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

  reply	other threads:[~2021-08-04  6:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  2:23 [RFC v3] f2fs: extent cache: support unaligned extent Chao Yu
2021-08-04  2:23 ` [f2fs-dev] " Chao Yu
2021-08-04  6:52 ` kernel test robot [this message]
2021-08-04  7:27   ` Chao Yu
2021-08-04  7:28 ` kernel test robot
2021-08-04 21:37 ` Jaegeuk Kim
2021-08-04 21:37   ` [f2fs-dev] " Jaegeuk Kim
2021-08-04 23:45   ` Jaegeuk Kim
2021-08-04 23:45     ` Jaegeuk Kim
2021-08-05  0:29     ` Chao Yu
2021-08-05  0:29       ` Chao Yu
2021-08-05  2:53       ` Jaegeuk Kim
2021-08-05  2:53         ` Jaegeuk Kim
2021-08-05  3:04         ` Chao Yu
2021-08-05  3:04           ` Chao Yu
2021-08-05  3:14           ` Chao Yu
2021-08-05  3:14             ` Chao Yu
2021-08-05 13:35     ` Chao Yu
2021-08-05 13:35       ` Chao Yu
2021-08-05 18:36       ` Jaegeuk Kim
2021-08-05 18:36         ` Jaegeuk Kim

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=202108041427.S6T0XEHx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.