All of lore.kernel.org
 help / color / mirror / Atom feed
* [bcachefs:bcachefs-testing 122/123] fs/bcachefs/extents_format.h:219:33: error: width of 'flags' exceeds its type
@ 2025-02-26  9:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-26  9:57 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: oe-kbuild-all, Kent Overstreet

tree:   https://evilpiepirate.org/git/bcachefs.git bcachefs-testing
head:   8de504fc059b751ae0cc0fd600f2d5e28ccb8dc5
commit: 82af8187566114f55114f1b878562de031e0b9b4 [122/123] bcachefs: bcachefs_metadata_version_extent_flags
config: arm64-randconfig-002-20250226 (https://download.01.org/0day-ci/archive/20250226/202502261700.DcbApKEF-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250226/202502261700.DcbApKEF-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/202502261700.DcbApKEF-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from fs/bcachefs/bcachefs_format.h:502,
                    from fs/bcachefs/bcachefs.h:208,
                    from fs/bcachefs/bkey_sort.c:2:
>> fs/bcachefs/extents_format.h:219:33: error: width of 'flags' exceeds its type
     219 |         __u64                   flags:76
         |                                 ^~~~~
>> fs/bcachefs/extents_format.h:220:33: error: expected ',', ';' or '}' before 'type'
     220 |                                 type:7;
         |                                 ^~~~
--
   In file included from fs/bcachefs/bcachefs_format.h:502,
                    from fs/bcachefs/bcachefs.h:208,
                    from fs/bcachefs/extents.c:9:
>> fs/bcachefs/extents_format.h:219:33: error: width of 'flags' exceeds its type
     219 |         __u64                   flags:76
         |                                 ^~~~~
>> fs/bcachefs/extents_format.h:220:33: error: expected ',', ';' or '}' before 'type'
     220 |                                 type:7;
         |                                 ^~~~
   fs/bcachefs/extents.c: In function 'bch2_bkey_extent_flags_set':
>> fs/bcachefs/extents.c:1476:26: error: 'struct bch_extent_flags' has no member named 'type'
    1476 |                         .type   = BIT(BCH_EXTENT_ENTRY_flags),
         |                          ^~~~
   fs/bcachefs/extents.c:1477:35: warning: initialized field overwritten [-Woverride-init]
    1477 |                         .flags  = flags,
         |                                   ^~~~~
   fs/bcachefs/extents.c:1477:35: note: (near initialization for 'f.flags')


vim +/flags +219 fs/bcachefs/extents_format.h

   213	
   214	struct bch_extent_flags {
   215	#if defined(__LITTLE_ENDIAN_BITFIELD)
   216		__u64			type:7,
   217					flags:57;
   218	#elif defined (__BIG_ENDIAN_BITFIELD)
 > 219		__u64			flags:76
 > 220					type:7;
   221	#endif
   222	};
   223	

-- 
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:[~2025-02-26  9:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  9:57 [bcachefs:bcachefs-testing 122/123] fs/bcachefs/extents_format.h:219:33: error: width of 'flags' exceeds its type 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.