From: kernel test robot <lkp@intel.com>
To: NeilBrown <neilb@suse.de>, Al Viro <viro@zeniv.linux.org.uk>,
Christian Brauner <brauner@kernel.org>,
Trond Myklebust <trondmy@kernel.org>,
Anna Schumaker <anna@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-nfs@vger.kernel.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] Change inode_operations.mkdir to return struct dentry *
Date: Mon, 17 Feb 2025 23:58:24 +0800 [thread overview]
Message-ID: <202502172326.hdZnGqWS-lkp@intel.com> (raw)
In-Reply-To: <20250214052204.3105610-2-neilb@suse.de>
Hi NeilBrown,
kernel test robot noticed the following build warnings:
[auto build test WARNING on brauner-vfs/vfs.all]
[also build test WARNING on trondmy-nfs/linux-next driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus cifs/for-next xfs-linux/for-next linus/master v6.14-rc3 next-20250217]
[cannot apply to ericvh-v9fs/for-next tyhicks-ecryptfs/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/NeilBrown/nfs-change-mkdir-inode_operation-to-return-alternate-dentry-if-needed/20250214-141741
base: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link: https://lore.kernel.org/r/20250214052204.3105610-2-neilb%40suse.de
patch subject: [PATCH 1/3] Change inode_operations.mkdir to return struct dentry *
config: um-randconfig-r122-20250217 (https://download.01.org/0day-ci/archive/20250217/202502172326.hdZnGqWS-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250217/202502172326.hdZnGqWS-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/202502172326.hdZnGqWS-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> fs/hostfs/hostfs_kern.c:689:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected struct dentry * @@ got int @@
fs/hostfs/hostfs_kern.c:689:24: sparse: expected struct dentry *
fs/hostfs/hostfs_kern.c:689:24: sparse: got int
vim +689 fs/hostfs/hostfs_kern.c
^1da177e4c3f41 Linus Torvalds 2005-04-16 681
456289e0bd14ce NeilBrown 2025-02-14 682 static struct dentry *hostfs_mkdir(struct mnt_idmap *idmap, struct inode *ino,
549c7297717c32 Christian Brauner 2021-01-21 683 struct dentry *dentry, umode_t mode)
^1da177e4c3f41 Linus Torvalds 2005-04-16 684 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 685 char *file;
^1da177e4c3f41 Linus Torvalds 2005-04-16 686 int err;
^1da177e4c3f41 Linus Torvalds 2005-04-16 687
c5322220eb91b9 Al Viro 2010-06-06 688 if ((file = dentry_name(dentry)) == NULL)
f1adc05e773830 Jeff Dike 2007-05-08 @689 return -ENOMEM;
^1da177e4c3f41 Linus Torvalds 2005-04-16 690 err = do_mkdir(file, mode);
e9193059b1b373 Al Viro 2010-06-06 691 __putname(file);
456289e0bd14ce NeilBrown 2025-02-14 692 if (err)
456289e0bd14ce NeilBrown 2025-02-14 693 return ERR_PTR(err);
456289e0bd14ce NeilBrown 2025-02-14 694 else
456289e0bd14ce NeilBrown 2025-02-14 695 return dentry;
^1da177e4c3f41 Linus Torvalds 2005-04-16 696 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 697
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-02-17 15:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-14 5:16 [PATCH 0/3} Change ->mkdir() and vfs_mkdir() to return a dentry NeilBrown
2025-02-14 5:16 ` [PATCH 1/3] Change inode_operations.mkdir to return struct dentry * NeilBrown
2025-02-15 8:09 ` kernel test robot
2025-02-17 15:58 ` kernel test robot [this message]
2025-02-14 5:16 ` [PATCH 2/3] nfs: change mkdir inode_operation to return alternate dentry if needed NeilBrown
2025-02-14 5:16 ` [PATCH 3/3] VFS: Change vfs_mkdir() to return the dentry NeilBrown
2025-02-15 4:10 ` kernel test robot
2025-02-15 6:36 ` kernel test robot
2025-02-14 6:00 ` [PATCH 0/3} Change ->mkdir() and vfs_mkdir() to return a dentry Al Viro
2025-02-14 6:13 ` Al Viro
2025-02-14 6:33 ` Al Viro
2025-02-17 3:53 ` NeilBrown
-- strict thread matches above, loose matches on Subject: below --
2025-02-17 5:30 [PATCH 0/3 RFC v2] change " NeilBrown
2025-02-17 5:30 ` [PATCH 1/3] Change inode_operations.mkdir to return struct dentry * NeilBrown
2025-02-18 12:20 ` Jan Kara
2025-02-18 22:37 ` NeilBrown
2025-02-18 13:13 ` Jeff Layton
2025-02-19 13:19 ` Christian Brauner
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=202502172326.hdZnGqWS-lkp@intel.com \
--to=lkp@intel.com \
--cc=anna@kernel.org \
--cc=brauner@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=neilb@suse.de \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=trondmy@kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).