* [koverstreet-bcachefs:bcachefs-testing 198/202] fs/bcachefs/tests.c:397:17: error: 'struct bkey' has no member named 'bversion'; did you mean 'version'?
@ 2024-09-27 10:02 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-09-27 10:02 UTC (permalink / raw)
To: Kent Overstreet; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-09-27 10:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-27 10:02 [koverstreet-bcachefs:bcachefs-testing 198/202] fs/bcachefs/tests.c:397:17: error: 'struct bkey' has no member named 'bversion'; did you mean 'version'? kernel test robot
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.