llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [brauner-vfs:b4/vfs-bdev-file 31/35] block/fops.c:866:56: error: initializer element is not a compile-time constant
@ 2024-01-24  2:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-24  2:16 UTC (permalink / raw)
  To: Christian Brauner; +Cc: llvm, oe-kbuild-all, Christian Brauner

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git b4/vfs-bdev-file
head:   86d0fab9651f2edb5dc7094c36ce414bf2c407ff
commit: d200dd4d01b253bf3964c013247dfea89baef880 [31/35] block: use file->f_op to indicate restricted writes
config: arm-randconfig-001-20240124 (https://download.01.org/0day-ci/archive/20240124/202401241034.sSm707gY-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240124/202401241034.sSm707gY-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/202401241034.sSm707gY-lkp@intel.com/

All errors (new ones prefixed by >>):

>> block/fops.c:866:56: error: initializer element is not a compile-time constant
   const struct file_operations def_blk_fops_restricted = def_blk_fops;
                                                          ^~~~~~~~~~~~
   1 error generated.


vim +866 block/fops.c

   864	
   865	/* Indicator that this block device is opened with restricted write access. */
 > 866	const struct file_operations def_blk_fops_restricted = def_blk_fops;
   867	

-- 
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:[~2024-01-24  2:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-24  2:16 [brauner-vfs:b4/vfs-bdev-file 31/35] block/fops.c:866:56: 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;
as well as URLs for NNTP newsgroup(s).