Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Miklos Szeredi <mszeredi@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	fuse-devel@lists.sourceforge.net
Subject: [mszeredi-fuse:fusex 40/40] fs/fuse/fusex.c:1601:16: error: use of undeclared identifier 'FUSE_SUPER_MAGIC'
Date: Wed, 29 Apr 2026 22:03:53 +0200	[thread overview]
Message-ID: <202604292109.XXl4iUUX-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git fusex
head:   1934d254361977df9fad43102ec1d72e20434a99
commit: 1934d254361977df9fad43102ec1d72e20434a99 [40/40] fuse: add fusex filesystem
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260429/202604292109.XXl4iUUX-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260429/202604292109.XXl4iUUX-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/202604292109.XXl4iUUX-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/fuse/fusex.c:1601:16: error: use of undeclared identifier 'FUSE_SUPER_MAGIC'
    1601 |         sb->s_magic = FUSE_SUPER_MAGIC;
         |                       ^
   1 error generated.


vim +/FUSE_SUPER_MAGIC +1601 fs/fuse/fusex.c

  1574	
  1575	static int fusex_fill_super(struct super_block *sb, struct fs_context *fsc)
  1576	{
  1577		struct fuse_mount *fm = get_fuse_mount_super(sb);
  1578		struct fuse_conn *fc = fm->fc;
  1579		struct inode *inode;
  1580		struct fusex_id id;
  1581		struct fuse_statx_out statx;
  1582		struct fuse_chan_param cp;
  1583		int err;
  1584	
  1585		/* Dropped in fuse_mount_destroy() */
  1586		fuse_conn_get(fc);
  1587		fm->sb = sb;
  1588		fc->dev = sb->s_dev;
  1589	
  1590		scoped_guard(mutex, &fuse_mutex) {
  1591			list_add_tail(&fc->entry, &fuse_conn_list);
  1592			err = fuse_ctl_add_conn(fc);
  1593			if (err)
  1594				return err;
  1595		}
  1596	
  1597		err = super_setup_bdi(sb);
  1598		if (err)
  1599			return err;
  1600	
> 1601		sb->s_magic = FUSE_SUPER_MAGIC;
  1602		sb->s_op = &fusex_super_operations;
  1603		sb->s_xattr = fusex_xattr_handlers;
  1604		sb->s_maxbytes = MAX_LFS_FILESIZE;
  1605		sb->s_time_gran = 1;
  1606		sb->s_iflags |= SB_I_IMA_UNVERIFIABLE_SIGNATURE;
  1607		if (sb->s_user_ns != &init_user_ns)
  1608			sb->s_iflags |= SB_I_UNTRUSTED_MOUNTER;
  1609		sb->s_blocksize = PAGE_SIZE;
  1610		sb->s_blocksize_bits = PAGE_SHIFT;
  1611		sb->s_flags &= SB_RDONLY;
  1612		sb->s_flags |= SB_POSIXACL;
  1613	
  1614		err = fusex_send_init(fm, &id, &statx);
  1615		if (err)
  1616			return err;
  1617	
  1618		inode = fusex_iget(sb, &id);
  1619		if (inode) {
  1620			WARN_ON(!(inode_state_read_once(inode) & I_NEW));
  1621			fusex_set_attr(inode, &statx.stat);
  1622			fusex_init_inode(inode);
  1623			unlock_new_inode(inode);
  1624		}
  1625		sb->s_root = d_make_root(inode);
  1626		if (!sb->s_root)
  1627			return -ENOMEM;
  1628	
  1629		fc->parallel_dirops = true;
  1630		fc->destroy = true;
  1631	
  1632		cp.minor = fc->minor;
  1633		cp.max_write = fc->max_write;
  1634		cp.max_pages = fc->max_pages;
  1635		fuse_chan_set_initialized(fc->chan, &cp);
  1636	
  1637		return 0;
  1638	}
  1639	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2026-04-29 20:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-29 20:03 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-05-02 11:08 [mszeredi-fuse:fusex 40/40] fs/fuse/fusex.c:1601:16: error: use of undeclared identifier 'FUSE_SUPER_MAGIC' kernel test robot

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=202604292109.XXl4iUUX-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=fuse-devel@lists.sourceforge.net \
    --cc=llvm@lists.linux.dev \
    --cc=mszeredi@redhat.com \
    --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