All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: fs/sysfs/mount.c:94:33: error: 'FS_GENERATED_CONTENT' undeclared here (not in a function)
Date: Fri, 19 Feb 2021 06:28:31 +0800	[thread overview]
Message-ID: <202102190629.12cdZFFc-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-02-18 22:28 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=202102190629.12cdZFFc-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 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.