From: kernel test robot <lkp@intel.com>
To: oe-kbuild@lists.linux.dev
Cc: lkp@intel.com
Subject: fs/overlayfs/dir.c:94:32: sparse: sparse: Initializer entry defined twice
Date: Thu, 03 Dec 2026 18:11:51 +0100 [thread overview]
Message-ID: <20261203180236.2fo9dbSe-lkp@intel.com> (raw)
::::::
:::::: Manual check reason: "sparse: Initializer entry defined twice"
::::::
BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
CC: linux-kernel@vger.kernel.org
TO: NeilBrown <neil@brown.name>
CC: Christian Brauner <brauner@kernel.org>
CC: Jeff Layton <jlayton@kernel.org>
CC: Amir Goldstein <amir73il@gmail.com>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: d06ce6f1eb5eeffd4ebcfde345dc34a98131d106
commit: 7ab96df840e60eb933abfe65fc5fe44e72f16dc0 VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating()
date: 1 year, 1 month ago
:::::: branch date: 16 hours ago
:::::: commit date: 1 year, 1 month ago
config: microblaze-randconfig-r2310-20261203 (https://download.01.org/0day-ci/archive/20261203/20261203180236.2fo9dbSe-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 13.5.0
sparse: v0.6.5-rc1-94-g0d159c10
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203180236.2fo9dbSe-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
| Fixes: 7ab96df840e6 ("VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating()")
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/r/20261203180236.2fo9dbSe-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/overlayfs/dir.c: note: in included file:
fs/overlayfs/overlayfs.h:406:54: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:406:54: sparse: also defined here
>> fs/overlayfs/dir.c:94:32: sparse: sparse: Initializer entry defined twice
fs/overlayfs/dir.c:94:32: sparse: also defined here
fs/overlayfs/overlayfs.h:406:54: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:406:54: sparse: also defined here
fs/overlayfs/dir.c:374:47: sparse: sparse: Initializer entry defined twice
fs/overlayfs/dir.c:374:47: sparse: also defined here
fs/overlayfs/overlayfs.h:415:37: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:415:37: sparse: also defined here
fs/overlayfs/overlayfs.h:415:37: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:415:37: sparse: also defined here
fs/overlayfs/overlayfs.h:406:54: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:406:54: sparse: also defined here
fs/overlayfs/overlayfs.h:406:54: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:406:54: sparse: also defined here
fs/overlayfs/overlayfs.h:406:54: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:406:54: sparse: also defined here
--
fs/overlayfs/copy_up.c: note: in included file:
fs/overlayfs/overlayfs.h:406:54: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:406:54: sparse: also defined here
>> fs/overlayfs/copy_up.c:617:43: sparse: sparse: Initializer entry defined twice
fs/overlayfs/copy_up.c:617:43: sparse: also defined here
fs/overlayfs/overlayfs.h:406:54: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:406:54: sparse: also defined here
fs/overlayfs/copy_up.c:897:43: sparse: sparse: Initializer entry defined twice
fs/overlayfs/copy_up.c:897:43: sparse: also defined here
--
>> fs/overlayfs/super.c:313:65: sparse: sparse: Initializer entry defined twice
fs/overlayfs/super.c:313:65: sparse: also defined here
fs/overlayfs/super.c: note: in included file:
fs/overlayfs/overlayfs.h:415:37: sparse: sparse: Initializer entry defined twice
fs/overlayfs/overlayfs.h:415:37: sparse: also defined here
fs/overlayfs/super.c:630:56: sparse: sparse: Initializer entry defined twice
fs/overlayfs/super.c:630:56: sparse: also defined here
vim +94 fs/overlayfs/dir.c
e9be9d5e76e348 Miklos Szeredi 2014-10-24 86
7ab96df840e60e NeilBrown 2025-11-13 87 static struct dentry *ovl_start_creating_temp(struct ovl_fs *ofs,
7ab96df840e60e NeilBrown 2025-11-13 88 struct dentry *workdir)
7ab96df840e60e NeilBrown 2025-11-13 89 {
7ab96df840e60e NeilBrown 2025-11-13 90 char name[OVL_TEMPNAME_SIZE];
7ab96df840e60e NeilBrown 2025-11-13 91
7ab96df840e60e NeilBrown 2025-11-13 92 ovl_tempname(name);
7ab96df840e60e NeilBrown 2025-11-13 93 return start_creating(ovl_upper_mnt_idmap(ofs), workdir,
7ab96df840e60e NeilBrown 2025-11-13 @94 &QSTR(name));
7ab96df840e60e NeilBrown 2025-11-13 95 }
7ab96df840e60e NeilBrown 2025-11-13 96
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-12-03 17:12 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=20261203180236.2fo9dbSe-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild@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 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.