[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202203271414.XUS8IhaO-lkp@intel.com>
Date: Sun, 27 Mar 2022 14:16:04 +0800
From: kernel test robot <lkp@...el.com>
To: wujunwen <wudaemon@....com>, arnd@...db.de,
gregkh@...uxfoundation.org
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, wujunwen <wudaemon@....com>
Subject: Re: [PATCH v1] char: misc:use DEFINE_PROC_SHOW_ATTRIBUTE micro to
simplify misc proc_fops
Hi wujunwen,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on char-misc/char-misc-testing]
[also build test ERROR on soc/for-next linux/master linus/master v5.17 next-20220325]
[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/intel-lab-lkp/linux/commits/wujunwen/char-misc-use-DEFINE_PROC_SHOW_ATTRIBUTE-micro-to-simplify-misc-proc_fops/20220327-120053
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 37fd83916da2e4cae03d350015c82a67b1b334c4
config: hexagon-randconfig-r045-20220327 (https://download.01.org/0day-ci/archive/20220327/202203271414.XUS8IhaO-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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/intel-lab-lkp/linux/commit/738cb3f8808411f37ad8cb6c2529c6686a87eddf
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review wujunwen/char-misc-use-DEFINE_PROC_SHOW_ATTRIBUTE-micro-to-simplify-misc-proc_fops/20220327-120053
git checkout 738cb3f8808411f37ad8cb6c2529c6686a87eddf
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/char/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/char/misc.c:254:38: error: use of undeclared identifier 'misc_proc_ops'; did you mean 'misc_fops'?
ret = proc_create("misc", 0, NULL, &misc_proc_ops);
^~~~~~~~~~~~~
misc_fops
drivers/char/misc.c:132:37: note: 'misc_fops' declared here
static const struct file_operations misc_fops = {
^
1 error generated.
vim +254 drivers/char/misc.c
248
249 static int __init misc_init(void)
250 {
251 int err;
252 struct proc_dir_entry *ret;
253
> 254 ret = proc_create("misc", 0, NULL, &misc_proc_ops);
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists