From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [mcgrof-next:20211116-sysctl-cleanups-v3 19/20] fs/binfmt_misc.c:826:17: error: too few arguments to function 'panic'
Date: Thu, 25 Nov 2021 17:59:50 +0800 [thread overview]
Message-ID: <202111251738.XZmLQiGG-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2377 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211116-sysctl-cleanups-v3
head: 06113f1d9a2d0669964adfa2e0128bd50e56b621
commit: ef6d1ebb37a8b418ca2a35f5d94d3eb4c93febe5 [19/20] fs: move binfmt_misc sysctl to its own file
config: arm-randconfig-c002-20211116 (https://download.01.org/0day-ci/archive/20211125/202111251738.XZmLQiGG-lkp(a)intel.com/config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=ef6d1ebb37a8b418ca2a35f5d94d3eb4c93febe5
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20211116-sysctl-cleanups-v3
git checkout ef6d1ebb37a8b418ca2a35f5d94d3eb4c93febe5
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
fs/binfmt_misc.c: In function 'init_misc_binfmt':
>> fs/binfmt_misc.c:826:17: error: too few arguments to function 'panic'
826 | panic();
| ^~~~~
In file included from include/linux/kernel.h:19,
from fs/binfmt_misc.c:13:
include/linux/panic.h:12:6: note: declared here
12 | void panic(const char *fmt, ...) __noreturn __cold;
| ^~~~~
fs/binfmt_misc.c:827:1: error: control reaches end of non-void function [-Werror=return-type]
827 | }
| ^
cc1: some warnings being treated as errors
vim +/panic +826 fs/binfmt_misc.c
819
820 static int __init init_misc_binfmt(void)
821 {
822 int err = register_filesystem(&bm_fs_type);
823 if (!err)
824 insert_binfmt(&misc_format);
825 if (!register_sysctl_mount_point("fs/binfmt_misc"))
> 826 panic();
827 }
828
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Luis Chamberlain <mcgrof@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mcgrof-next:20211116-sysctl-cleanups-v3 19/20] fs/binfmt_misc.c:826:17: error: too few arguments to function 'panic'
Date: Thu, 25 Nov 2021 17:59:50 +0800 [thread overview]
Message-ID: <202111251738.XZmLQiGG-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20211116-sysctl-cleanups-v3
head: 06113f1d9a2d0669964adfa2e0128bd50e56b621
commit: ef6d1ebb37a8b418ca2a35f5d94d3eb4c93febe5 [19/20] fs: move binfmt_misc sysctl to its own file
config: arm-randconfig-c002-20211116 (https://download.01.org/0day-ci/archive/20211125/202111251738.XZmLQiGG-lkp@intel.com/config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=ef6d1ebb37a8b418ca2a35f5d94d3eb4c93febe5
git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git
git fetch --no-tags mcgrof-next 20211116-sysctl-cleanups-v3
git checkout ef6d1ebb37a8b418ca2a35f5d94d3eb4c93febe5
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
fs/binfmt_misc.c: In function 'init_misc_binfmt':
>> fs/binfmt_misc.c:826:17: error: too few arguments to function 'panic'
826 | panic();
| ^~~~~
In file included from include/linux/kernel.h:19,
from fs/binfmt_misc.c:13:
include/linux/panic.h:12:6: note: declared here
12 | void panic(const char *fmt, ...) __noreturn __cold;
| ^~~~~
fs/binfmt_misc.c:827:1: error: control reaches end of non-void function [-Werror=return-type]
827 | }
| ^
cc1: some warnings being treated as errors
vim +/panic +826 fs/binfmt_misc.c
819
820 static int __init init_misc_binfmt(void)
821 {
822 int err = register_filesystem(&bm_fs_type);
823 if (!err)
824 insert_binfmt(&misc_format);
825 if (!register_sysctl_mount_point("fs/binfmt_misc"))
> 826 panic();
827 }
828
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2021-11-25 9:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-25 9:59 kernel test robot [this message]
2021-11-25 9:59 ` [mcgrof-next:20211116-sysctl-cleanups-v3 19/20] fs/binfmt_misc.c:826:17: error: too few arguments to function 'panic' kernel test robot
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=202111251738.XZmLQiGG-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.