tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 07b677953b9dca02928be323e2db853511305fa9 commit: 9e5a6c7797b240f138b9bdd75d85d8f7c6f0e06d [1705/2217] bcachefs: btree write buffer now slurps keys from journal config: i386-randconfig-141-20231121 (https://download.01.org/0day-ci/archive/20231121/202311212232.BHiGGdEF-lkp@xxxxxxxxx/config) compiler: gcc-11 (Debian 11.3.0-12) 11.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231121/202311212232.BHiGGdEF-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202311212232.BHiGGdEF-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): In file included from fs/bcachefs/bcachefs.h:421, from fs/bcachefs/acl.c:3: >> fs/bcachefs/btree_write_buffer_types.h:23:9: warning: alignment 1 of 'struct <anonymous>' is less than 4 [-Wpacked-not-aligned] 23 | } __packed; | ^ >> fs/bcachefs/btree_write_buffer_types.h:16:49: warning: 'pos' offset 3 in 'struct <anonymous>' isn't aligned to 4 [-Wpacked-not-aligned] 16 | struct bpos pos; | ^~~ In file included from fs/bcachefs/str_hash.h:8, from fs/bcachefs/xattr.h:5, from fs/bcachefs/acl.c:6: fs/bcachefs/error.h: In function 'bch2_bkey_fsck_err': fs/bcachefs/error.h:168:9: warning: function 'bch2_bkey_fsck_err' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 168 | prt_vprintf(err_msg, fmt, args); | ^~~~~~~~~~~ -- In file included from fs/bcachefs/bcachefs.h:421, from fs/bcachefs/bkey.c:3: >> fs/bcachefs/btree_write_buffer_types.h:23:9: warning: alignment 1 of 'struct <anonymous>' is less than 4 [-Wpacked-not-aligned] 23 | } __packed; | ^ >> fs/bcachefs/btree_write_buffer_types.h:16:49: warning: 'pos' offset 3 in 'struct <anonymous>' isn't aligned to 4 [-Wpacked-not-aligned] 16 | struct bpos pos; | ^~~ -- In file included from fs/bcachefs/bcachefs.h:421, from fs/bcachefs/sb-errors.c:3: >> fs/bcachefs/btree_write_buffer_types.h:23:9: warning: alignment 1 of 'struct <anonymous>' is less than 4 [-Wpacked-not-aligned] 23 | } __packed; | ^ >> fs/bcachefs/btree_write_buffer_types.h:16:49: warning: 'pos' offset 3 in 'struct <anonymous>' isn't aligned to 4 [-Wpacked-not-aligned] 16 | struct bpos pos; | ^~~ fs/bcachefs/sb-errors.c:9:21: warning: initialized field overwritten [-Woverride-init] 9 | BCH_SB_ERRS() | ^ fs/bcachefs/sb-errors.c:8:29: note: in definition of macro 'x' 8 | #define x(t, n, ...) [n] = #t, | ^ fs/bcachefs/sb-errors.c:9:9: note: in expansion of macro 'BCH_SB_ERRS' 9 | BCH_SB_ERRS() | ^~~~~~~~~~~ fs/bcachefs/sb-errors.c:9:21: note: (near initialization for 'bch2_sb_error_strs[50]') 9 | BCH_SB_ERRS() | ^ fs/bcachefs/sb-errors.c:8:29: note: in definition of macro 'x' 8 | #define x(t, n, ...) [n] = #t, | ^ fs/bcachefs/sb-errors.c:9:9: note: in expansion of macro 'BCH_SB_ERRS' 9 | BCH_SB_ERRS() | ^~~~~~~~~~~ vim +23 fs/bcachefs/btree_write_buffer_types.h 10 11 struct wb_key_ref { 12 union { 13 struct { 14 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ 15 unsigned idx:24; > 16 struct bpos pos; 17 enum btree_id btree:8; 18 #else 19 enum btree_id btree:8; 20 struct bpos pos; 21 unsigned idx:24; 22 #endif > 23 } __packed; 24 struct { 25 #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ 26 u64 lo; 27 u64 mi; 28 u64 hi; 29 #else 30 u64 hi; 31 u64 mi; 32 u64 lo; 33 #endif 34 }; 35 }; 36 }; 37 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki