From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kmo@daterainc.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 1118/4552] fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4
Date: Tue, 12 Sep 2023 20:23:17 +0800 [thread overview]
Message-ID: <202309122047.cRi9yJrq-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 3c13c772fc233a10342c8e1605ff0855dfdf0c89
commit: 5ec30115c06692f17b20e4f4c7bdcd62cf96e30d [1118/4552] bcachefs: Initial commit
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20230912/202309122047.cRi9yJrq-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230912/202309122047.cRi9yJrq-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/202309122047.cRi9yJrq-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/bcachefs/bcachefs.h:199,
from fs/bcachefs/acl.c:4:
>> fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned]
198 | struct bpos p;
| ^
>> fs/bcachefs/bcachefs_format.h:200:25: warning: 'version' offset 27 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned]
200 | struct bversion version;
| ^~~~~~~
In file included from fs/bcachefs/super-io.h:5,
from fs/bcachefs/checksum.h:7,
from fs/bcachefs/str_hash.h:7,
from fs/bcachefs/fs.h:6,
from fs/bcachefs/acl.c:13:
fs/bcachefs/extents.h: In function 'bch2_extent_devs':
fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable]
403 | struct bch_extent_crc_unpacked _crc; \
| ^~~~
fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next'
410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \
| ^~~~~~~~~~~~~~~
fs/bcachefs/extents.h:462:9: note: in expansion of macro 'extent_for_each_ptr'
462 | extent_for_each_ptr(e, ptr)
| ^~~~~~~~~~~~~~~~~~~
fs/bcachefs/extents.h: In function 'bch2_extent_dirty_devs':
fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable]
403 | struct bch_extent_crc_unpacked _crc; \
| ^~~~
fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next'
410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \
| ^~~~~~~~~~~~~~~
fs/bcachefs/extents.h:473:9: note: in expansion of macro 'extent_for_each_ptr'
473 | extent_for_each_ptr(e, ptr)
| ^~~~~~~~~~~~~~~~~~~
fs/bcachefs/extents.h: In function 'bch2_extent_cached_devs':
fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable]
403 | struct bch_extent_crc_unpacked _crc; \
| ^~~~
fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next'
410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \
| ^~~~~~~~~~~~~~~
fs/bcachefs/extents.h:485:9: note: in expansion of macro 'extent_for_each_ptr'
485 | extent_for_each_ptr(e, ptr)
| ^~~~~~~~~~~~~~~~~~~
fs/bcachefs/checksum.h: At top level:
fs/bcachefs/checksum.h:95:23: warning: 'bch2_compression_opt_to_type' defined but not used [-Wunused-const-variable=]
95 | static const unsigned bch2_compression_opt_to_type[] = {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fs/bcachefs/bcachefs.h:201:
fs/bcachefs/opts.h:194:30: warning: 'bch2_opts_default' defined but not used [-Wunused-const-variable=]
194 | static const struct bch_opts bch2_opts_default = {
| ^~~~~~~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_MAX' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_BITS' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
85 | static const unsigned name##_BITS = (end - offset); \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_OFFSET' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK'
84 | static const unsigned name##_OFFSET = offset; \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_MAX' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_BITS' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
85 | static const unsigned name##_BITS = (end - offset); \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_OFFSET' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK'
84 | static const unsigned name##_OFFSET = offset; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_MAX' defined but not used [-Wunused-const-variable=]
--
In file included from fs/bcachefs/bcachefs.h:199,
from fs/bcachefs/alloc.c:56:
>> fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned]
198 | struct bpos p;
| ^
>> fs/bcachefs/bcachefs_format.h:200:25: warning: 'version' offset 27 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned]
200 | struct bversion version;
| ^~~~~~~
In file included from fs/bcachefs/btree_cache.h:7,
from fs/bcachefs/alloc.c:58:
fs/bcachefs/extents.h: In function 'bch2_extent_devs':
fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable]
403 | struct bch_extent_crc_unpacked _crc; \
| ^~~~
fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next'
410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \
| ^~~~~~~~~~~~~~~
fs/bcachefs/extents.h:462:9: note: in expansion of macro 'extent_for_each_ptr'
462 | extent_for_each_ptr(e, ptr)
| ^~~~~~~~~~~~~~~~~~~
fs/bcachefs/extents.h: In function 'bch2_extent_dirty_devs':
fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable]
403 | struct bch_extent_crc_unpacked _crc; \
| ^~~~
fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next'
410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \
| ^~~~~~~~~~~~~~~
fs/bcachefs/extents.h:473:9: note: in expansion of macro 'extent_for_each_ptr'
473 | extent_for_each_ptr(e, ptr)
| ^~~~~~~~~~~~~~~~~~~
fs/bcachefs/extents.h: In function 'bch2_extent_cached_devs':
fs/bcachefs/extents.h:403:40: warning: variable '_crc' set but not used [-Wunused-but-set-variable]
403 | struct bch_extent_crc_unpacked _crc; \
| ^~~~
fs/bcachefs/extents.h:410:24: note: in expansion of macro 'extent_ptr_next'
410 | ((_ptr) = extent_ptr_next(_e, _ptr)); \
| ^~~~~~~~~~~~~~~
fs/bcachefs/extents.h:485:9: note: in expansion of macro 'extent_for_each_ptr'
485 | extent_for_each_ptr(e, ptr)
| ^~~~~~~~~~~~~~~~~~~
In file included from fs/bcachefs/alloc.c:60:
fs/bcachefs/alloc.c: In function '__bch2_alloc_write_key':
fs/bcachefs/btree_update.h:72:35: error: implicit declaration of function 'COUNT_ARGS' [-Werror=implicit-function-declaration]
72 | .nr = COUNT_ARGS(__VA_ARGS__), \
| ^~~~~~~~~~
fs/bcachefs/alloc.c:332:23: note: in expansion of macro 'bch2_btree_insert_at'
332 | ret = bch2_btree_insert_at(c, NULL, NULL, journal_seq, flags,
| ^~~~~~~~~~~~~~~~~~~~
In file included from fs/bcachefs/bcachefs.h:201:
fs/bcachefs/opts.h: At top level:
fs/bcachefs/opts.h:194:30: warning: 'bch2_opts_default' defined but not used [-Wunused-const-variable=]
194 | static const struct bch_opts bch2_opts_default = {
| ^~~~~~~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_MAX' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_BITS' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
85 | static const unsigned name##_BITS = (end - offset); \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_OFFSET' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK'
84 | static const unsigned name##_OFFSET = offset; \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_MAX' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_BITS' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
85 | static const unsigned name##_BITS = (end - offset); \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_OFFSET' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK'
84 | static const unsigned name##_OFFSET = offset; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
--
In file included from fs/bcachefs/bcachefs.h:199,
from fs/bcachefs/bkey.c:3:
>> fs/bcachefs/bcachefs_format.h:198:25: warning: 'p' offset 3 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned]
198 | struct bpos p;
| ^
>> fs/bcachefs/bcachefs_format.h:200:25: warning: 'version' offset 27 in 'struct bkey' isn't aligned to 4 [-Wpacked-not-aligned]
200 | struct bversion version;
| ^~~~~~~
In file included from fs/bcachefs/bcachefs.h:201:
fs/bcachefs/opts.h:194:30: warning: 'bch2_opts_default' defined but not used [-Wunused-const-variable=]
194 | static const struct bch_opts bch2_opts_default = {
| ^~~~~~~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_MAX' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_BITS' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
85 | static const unsigned name##_BITS = (end - offset); \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/opts.h:33:14: warning: 'NO_SB_OPT_OFFSET' defined but not used [-Wunused-const-variable=]
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~
fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK'
84 | static const unsigned name##_OFFSET = offset; \
| ^~~~
fs/bcachefs/opts.h:33:1: note: in expansion of macro 'LE64_BITMASK'
33 | LE64_BITMASK(NO_SB_OPT, struct bch_sb, flags[0], 0, 0);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_MAX' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_BITS' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
85 | static const unsigned name##_BITS = (end - offset); \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1482:14: warning: 'BTREE_NODE_SEQ_OFFSET' defined but not used [-Wunused-const-variable=]
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK'
84 | static const unsigned name##_OFFSET = offset; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1482:1: note: in expansion of macro 'LE64_BITMASK'
1482 | LE64_BITMASK(BTREE_NODE_SEQ, struct btree_node, flags, 32, 64);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_MAX' defined but not used [-Wunused-const-variable=]
1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8);
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1480:1: note: in expansion of macro 'LE64_BITMASK'
1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_BITS' defined but not used [-Wunused-const-variable=]
1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8);
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
85 | static const unsigned name##_BITS = (end - offset); \
| ^~~~
fs/bcachefs/bcachefs_format.h:1480:1: note: in expansion of macro 'LE64_BITMASK'
1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1480:14: warning: 'BTREE_NODE_LEVEL_OFFSET' defined but not used [-Wunused-const-variable=]
1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8);
| ^~~~~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:84:25: note: in definition of macro 'LE_BITMASK'
84 | static const unsigned name##_OFFSET = offset; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1480:1: note: in expansion of macro 'LE64_BITMASK'
1480 | LE64_BITMASK(BTREE_NODE_LEVEL, struct btree_node, flags, 4, 8);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1479:14: warning: 'BTREE_NODE_ID_MAX' defined but not used [-Wunused-const-variable=]
1479 | LE64_BITMASK(BTREE_NODE_ID, struct btree_node, flags, 0, 4);
| ^~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:86:25: note: in definition of macro 'LE_BITMASK'
86 | static const __u##_bits name##_MAX = (1ULL << (end - offset)) - 1; \
| ^~~~
fs/bcachefs/bcachefs_format.h:1479:1: note: in expansion of macro 'LE64_BITMASK'
1479 | LE64_BITMASK(BTREE_NODE_ID, struct btree_node, flags, 0, 4);
| ^~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:1479:14: warning: 'BTREE_NODE_ID_BITS' defined but not used [-Wunused-const-variable=]
1479 | LE64_BITMASK(BTREE_NODE_ID, struct btree_node, flags, 0, 4);
| ^~~~~~~~~~~~~
fs/bcachefs/bcachefs_format.h:85:25: note: in definition of macro 'LE_BITMASK'
..
vim +198 fs/bcachefs/bcachefs_format.h
187
188 /* Type of the value */
189 __u8 type;
190
191 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
192 __u8 pad[1];
193
194 struct bversion version;
195 __u32 size; /* extent size, in sectors */
196 struct bpos p;
197 #elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
> 198 struct bpos p;
199 __u32 size; /* extent size, in sectors */
> 200 struct bversion version;
201
202 __u8 pad[1];
203 #endif
204 } __attribute__((packed, aligned(8)));
205
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-09-12 12:23 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=202309122047.cRi9yJrq-lkp@intel.com \
--to=lkp@intel.com \
--cc=kmo@daterainc.com \
--cc=linux-mm@kvack.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox