public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Kent Overstreet <kent.overstreet@linux.dev>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Kent Overstreet <kent.overstreet@linux.dev>
Subject: [bcachefs:bcachefs-testing 1097/1101] fs/bcachefs/fs/check.c:113:36: error: initializer element is not a compile-time constant
Date: Mon, 8 Dec 2025 09:52:05 +0800	[thread overview]
Message-ID: <202512080923.m7uVKRta-lkp@intel.com> (raw)

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

                 reply	other threads:[~2025-12-08  1:52 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=202512080923.m7uVKRta-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kent.overstreet@linux.dev \
    --cc=llvm@lists.linux.dev \
    --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