All of lore.kernel.org
 help / color / mirror / Atom feed
* fs/sysfs/mount.c:94:33: error: 'FS_GENERATED_CONTENT' undeclared here (not in a function)
@ 2021-02-18 22:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-18 22:28 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2867 bytes --]

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20210219-010806/Nicolas-Boichat/Add-generated-flag-to-filesystem-struct-to-block-copy_file_range/20210212-124814
head:   eb3e4dcf8c9517d75bf08c3a0c9ab261aa0d80be
commit: f5f28d87b8e2013fe119f4acac85c6f5356c0b59 sysfs: Add FS_GENERATED_CONTENT to filesystem flags
date:   5 hours ago
config: ia64-randconfig-r013-20210218 (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/f5f28d87b8e2013fe119f4acac85c6f5356c0b59
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20210219-010806/Nicolas-Boichat/Add-generated-flag-to-filesystem-struct-to-block-copy_file_range/20210212-124814
        git checkout f5f28d87b8e2013fe119f4acac85c6f5356c0b59
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/ia64/include/asm/pgtable.h:154,
                    from include/linux/pgtable.h:6,
                    from arch/ia64/include/asm/uaccess.h:40,
                    from include/linux/uaccess.h:11,
                    from include/linux/sched/task.h:11,
                    from include/linux/sched/signal.h:9,
                    from include/linux/rcuwait.h:6,
                    from include/linux/percpu-rwsem.h:7,
                    from include/linux/fs.h:33,
                    from fs/sysfs/mount.c:12:
   arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
   arch/ia64/include/asm/mmu_context.h:127:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
     127 |  unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
         |                                         ^~~~~~~
   fs/sysfs/mount.c: At top level:
>> fs/sysfs/mount.c:94:33: error: 'FS_GENERATED_CONTENT' undeclared here (not in a function)
      94 |  .fs_flags  = FS_USERNS_MOUNT | FS_GENERATED_CONTENT,
         |                                 ^~~~~~~~~~~~~~~~~~~~


vim +/FS_GENERATED_CONTENT +94 fs/sysfs/mount.c

    89	
    90	static struct file_system_type sysfs_fs_type = {
    91		.name			= "sysfs",
    92		.init_fs_context	= sysfs_init_fs_context,
    93		.kill_sb		= sysfs_kill_sb,
  > 94		.fs_flags		= FS_USERNS_MOUNT | FS_GENERATED_CONTENT,
    95	};
    96	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26925 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-18 22:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-18 22:28 fs/sysfs/mount.c:94:33: error: 'FS_GENERATED_CONTENT' undeclared here (not in a function) 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.