* [brauner:debugfs_namespaces 1/3] kernel/nsproxy.c:279:9: warning: assignment to 'struct dentry *' from 'int' makes pointer from integer without a cast
@ 2019-10-02 17:06 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-02 17:06 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux.git debugfs_namespaces
head: ad23ea92bb6b71c09f3cb9361d3e48e86f6f1d78
commit: f06faf7ef86c30c19dee31796e85f473e4faadf6 [1/3] nsproxy: add debugfs entry
config: nds32-defconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f06faf7ef86c30c19dee31796e85f473e4faadf6
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
kernel/nsproxy.c: In function 'init_ns_debugfs':
kernel/nsproxy.c:279:11: error: implicit declaration of function 'debugfs_create_dir'; did you mean 'kernfs_create_dir'? [-Werror=implicit-function-declaration]
ns_dir = debugfs_create_dir("ns", NULL);
^~~~~~~~~~~~~~~~~~
kernfs_create_dir
>> kernel/nsproxy.c:279:9: warning: assignment to 'struct dentry *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
ns_dir = debugfs_create_dir("ns", NULL);
^
cc1: some warnings being treated as errors
vim +279 kernel/nsproxy.c
274
275 static int __init init_ns_debugfs(void)
276 {
277 struct dentry *ns_dir;
278
> 279 ns_dir = debugfs_create_dir("ns", NULL);
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 10617 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-02 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-02 17:06 [brauner:debugfs_namespaces 1/3] kernel/nsproxy.c:279:9: warning: assignment to 'struct dentry *' from 'int' makes pointer from integer without a cast kbuild test robot
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.