Hi "Yordan,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linux/master]
[also build test WARNING on hnaz-mm/master linus/master v5.16-rc1 next-20211118]
[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]
url:
https://github.com/0day-ci/linux/commits/Yordan-Karadzhov-VMware/namespac...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
8ab774587903771821b59471cc723bba6d893942
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 11.2.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/a6c499bca3021a2106f1dfcbddb6c4945...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Yordan-Karadzhov-VMware/namespacefs-Proof-of-Concept/20211119-021813
git checkout a6c499bca3021a2106f1dfcbddb6c4945f521bae
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> fs/namespacefs/inode.c:159:1: warning: no previous prototype for
'namespacefs_create_file' [-Wmissing-prototypes]
159 |
namespacefs_create_file(const char *name, struct dentry *parent,
| ^~~~~~~~~~~~~~~~~~~~~~~
> fs/namespacefs/inode.c:168:1: warning: no previous prototype for
'namespacefs_create_dir' [-Wmissing-prototypes]
168 |
namespacefs_create_dir(const char *name, struct dentry *parent,
| ^~~~~~~~~~~~~~~~~~~~~~
> fs/namespacefs/inode.c:179:6: warning: no previous prototype for
'namespacefs_remove_dir' [-Wmissing-prototypes]
179 | void
namespacefs_remove_dir(struct dentry *dentry)
| ^~~~~~~~~~~~~~~~~~~~~~
vim +/namespacefs_create_file +159 fs/namespacefs/inode.c
157
158 struct dentry *
159 namespacefs_create_file(const char *name, struct dentry *parent,
160 const struct user_namespace *user_ns,
161 const struct file_operations *fops,
162 void *data)
163 {
164 return create(name, parent, user_ns, fops, data);
165 }
166
167 struct dentry *
168 namespacefs_create_dir(const char *name, struct dentry *parent,
169 const struct user_namespace *user_ns)
170 {
171 return create(name, parent, user_ns, NULL, NULL);
172 }
173
174 static void remove_one(struct dentry *d)
175 {
176 release_namespacefs();
177 }
178
179 void namespacefs_remove_dir(struct dentry *dentry)
180 {
181 if (IS_ERR_OR_NULL(dentry))
182 return;
183
184 if (pin_fs())
185 return;
186
187 simple_recursive_removal(dentry, remove_one);
188 release_namespacefs();
189 }
190
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org