* [bcachefs:bcachefs-testing 1097/1101] fs/bcachefs/fs/check.c:113:36: error: initializer element is not a compile-time constant
@ 2025-12-08 1:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-08 1:52 UTC (permalink / raw)
To: Kent Overstreet; +Cc: llvm, oe-kbuild-all, Kent Overstreet
tree: https://evilpiepirate.org/git/bcachefs.git bcachefs-testing
head: e334d0d42eb60d4aae64c1d9a6374a054a0aac08
commit: 7df2fb43bb8830f27b55ca1820e397a7258e6141 [1097/1101] bcachefs: split out create_lostfound()
config: um-randconfig-002-20251208 (https://download.01.org/0day-ci/archive/20251208/202512080923.m7uVKRta-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9e7ce77573b2fad126a367475cbe807c10826691)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251208/202512080923.m7uVKRta-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/202512080923.m7uVKRta-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from fs/bcachefs/fs/check.c:2:
In file included from fs/bcachefs/bcachefs.h:202:
In file included from include/linux/bio.h:10:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:12:
In file included from include/linux/hardirq.h:11:
In file included from arch/um/include/asm/hardirq.h:5:
In file included from include/asm-generic/hardirq.h:17:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:12:
In file included from arch/um/include/asm/io.h:24:
include/asm-generic/io.h:1175:55: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
1175 | return (port > MMIO_UPPER_LIMIT) ? NULL : PCI_IOBASE + port;
| ~~~~~~~~~~ ^
>> fs/bcachefs/fs/check.c:113:36: error: initializer element is not a compile-time constant
113 | static struct qstr lostfound_str = QSTR("lost+found");
| ^
include/linux/dcache.h:61:17: note: expanded from macro 'QSTR'
61 | #define QSTR(n) QSTR_LEN(n, strlen(n))
| ^
include/linux/dcache.h:60:36: note: expanded from macro 'QSTR_LEN'
60 | #define QSTR_LEN(n,l) (struct qstr)QSTR_INIT(n,l)
| ^
include/linux/dcache.h:59:26: note: expanded from macro 'QSTR_INIT'
59 | #define QSTR_INIT(n,l) { { { .len = l } }, .name = n }
| ^
1 warning and 1 error generated.
vim +113 fs/bcachefs/fs/check.c
112
> 113 static struct qstr lostfound_str = QSTR("lost+found");
114
--
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-12-08 1:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-08 1:52 [bcachefs:bcachefs-testing 1097/1101] fs/bcachefs/fs/check.c:113:36: error: initializer element is not a compile-time constant kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox