All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [koverstreet-bcachefs:bcachefs-testing 198/202] fs/bcachefs/tests.c:397:17: error: 'struct bkey' has no member named 'bversion'; did you mean 'version'?
Date: Fri, 27 Sep 2024 18:02:18 +0800	[thread overview]
Message-ID: <202409271712.EZRpO2Z1-lkp@intel.com> (raw)

Hi Kent,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://github.com/koverstreet/bcachefs bcachefs-testing
head:   9ee6e6730cfdb671c180b323c6d60374aa5ab6b5
commit: 8983840debcfd17df76e2a8d3831c3c5970b53a7 [198/202] bcachefs: rename version -> bversion
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240927/202409271712.EZRpO2Z1-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240927/202409271712.EZRpO2Z1-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202409271712.EZRpO2Z1-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/bcachefs/bset.h:9,
                    from fs/bcachefs/btree_iter.h:5,
                    from fs/bcachefs/btree_update.h:5,
                    from fs/bcachefs/tests.c:5:
   fs/bcachefs/bkey.h: In function 'bch2_bkey_format_add_key':
   fs/bcachefs/bkey.h:557:41: error: 'const struct bkey' has no member named 'bversion'; did you mean 'version'?
     557 |         x(BKEY_FIELD_VERSION_HI,        bversion.hi)                    \
         |                                         ^~~~~~~~
   fs/bcachefs/bkey.h:578:50: note: in definition of macro 'x'
     578 | #define x(id, field) __bkey_format_add(s, id, k->field);
         |                                                  ^~~~~
   fs/bcachefs/bkey.h:579:9: note: in expansion of macro 'bkey_fields'
     579 |         bkey_fields()
         |         ^~~~~~~~~~~
   fs/bcachefs/bkey.h:558:41: error: 'const struct bkey' has no member named 'bversion'; did you mean 'version'?
     558 |         x(BKEY_FIELD_VERSION_LO,        bversion.lo)
         |                                         ^~~~~~~~
   fs/bcachefs/bkey.h:578:50: note: in definition of macro 'x'
     578 | #define x(id, field) __bkey_format_add(s, id, k->field);
         |                                                  ^~~~~
   fs/bcachefs/bkey.h:579:9: note: in expansion of macro 'bkey_fields'
     579 |         bkey_fields()
         |         ^~~~~~~~~~~
   In file included from fs/bcachefs/bset.h:10:
   fs/bcachefs/bkey_methods.h: In function 'bch2_bkey_maybe_mergable':
   fs/bcachefs/bkey_methods.h:73:34: error: 'const struct bkey' has no member named 'bversion'; did you mean 'version'?
      73 |                 !bversion_cmp(l->bversion, r->bversion) &&
         |                                  ^~~~~~~~
         |                                  version
   fs/bcachefs/bkey_methods.h:73:47: error: 'const struct bkey' has no member named 'bversion'; did you mean 'version'?
      73 |                 !bversion_cmp(l->bversion, r->bversion) &&
         |                                               ^~~~~~~~
         |                                               version
   fs/bcachefs/tests.c: In function 'insert_test_extent':
>> fs/bcachefs/tests.c:397:17: error: 'struct bkey' has no member named 'bversion'; did you mean 'version'?
     397 |         k.k_i.k.bversion.lo = test_version++;
         |                 ^~~~~~~~
         |                 version


vim +397 fs/bcachefs/tests.c

   386	
   387	static int insert_test_extent(struct bch_fs *c,
   388				      u64 start, u64 end)
   389	{
   390		struct bkey_i_cookie k;
   391		int ret;
   392	
   393		bkey_cookie_init(&k.k_i);
   394		k.k_i.k.p.offset = end;
   395		k.k_i.k.p.snapshot = U32_MAX;
   396		k.k_i.k.size = end - start;
 > 397		k.k_i.k.bversion.lo = test_version++;
   398	
   399		ret = bch2_btree_insert(c, BTREE_ID_extents, &k.k_i, NULL, 0, 0);
   400		bch_err_fn(c, ret);
   401		return ret;
   402	}
   403	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-09-27 10:03 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:
  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=202409271712.EZRpO2Z1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kent.overstreet@linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.