Re: [GIT PULL] bcachefs for v6.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using latest HEAD from linux git (commit
5a6a09e97199d6600d31383055f9d43fbbcbe86f (HEAD -> master,
origin/master, origin/HEAD), and the following config, I get this
failure when compiling on x86_64 Debian Bullseye (11):


     CC      fs/bcachefs/btree_io.o
   In file included from fs/bcachefs/btree_io.c:11:
   fs/bcachefs/btree_io.c: In function ‘bch2_btree_post_write_cleanup’:
   fs/bcachefs/btree_update_interior.h:274:36: error: array subscript 0 is outside the bounds of an interior zero-length array ‘struct bkey_packed[0]’ [-Werror=zero-length-bounds]
     274 |   __bch_btree_u64s_remaining(c, b, &bne->keys.start[0]);
	 |                                    ^~~~~~~~~~~~~~~~~~~
   In file included from fs/bcachefs/bcachefs.h:206,
		    from fs/bcachefs/btree_io.c:3:
   fs/bcachefs/bcachefs_format.h:2344:21: note: while referencing ‘start’
    2344 |  struct bkey_packed start[0];
	 |                     ^~~~~
   In file included from fs/bcachefs/btree_io.c:11:
   fs/bcachefs/btree_io.c: In function ‘bch2_btree_init_next’:
   fs/bcachefs/btree_update_interior.h:274:36: error: array subscript 0 is outside the bounds of an interior zero-length array ‘struct bkey_packed[0]’ [-Werror=zero-length-bounds]
     274 |   __bch_btree_u64s_remaining(c, b, &bne->keys.start[0]);
	 |                                    ^~~~~~~~~~~~~~~~~~~
   In file included from fs/bcachefs/bcachefs.h:206,
		    from fs/bcachefs/btree_io.c:3:
   fs/bcachefs/bcachefs_format.h:2344:21: note: while referencing ‘start’
    2344 |  struct bkey_packed start[0];
	 |                     ^~~~~
   cc1: all warnings being treated as errors
   make[4]: *** [scripts/Makefile.build:243: fs/bcachefs/btree_io.o] Error 1
   make[3]: *** [scripts/Makefile.build:480: fs/bcachefs] Error 2
   make[2]: *** [scripts/Makefile.build:480: fs] Error 2
   make[1]: *** [/local/src/kernel/git/linux/Makefile:1913: .] Error 2
   make: *** [Makefile:234: __sub-make] Error 2


My .config looks like this for BCACHEFS:

   $ grep BCACHEFS .config
   CONFIG_BCACHEFS_FS=y
   CONFIG_BCACHEFS_QUOTA=y
   CONFIG_BCACHEFS_POSIX_ACL=y
   CONFIG_BCACHEFS_DEBUG_TRANSACTIONS=y
   CONFIG_BCACHEFS_DEBUG=y
   CONFIG_BCACHEFS_TESTS=y
   # CONFIG_BCACHEFS_LOCK_TIME_STATS is not set
   # CONFIG_BCACHEFS_NO_LATENCY_ACCT is not set






[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux