All of lore.kernel.org
 help / color / mirror / Atom feed
* [mcgrof-next:20211116-sysctl-cleanups-v3 19/20] fs/binfmt_misc.c:826:17: error: too few arguments to function 'panic'
@ 2021-11-25  9:59 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-25  9:59 UTC (permalink / raw)
  To: Luis Chamberlain; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [mcgrof-next:20211116-sysctl-cleanups-v3 19/20] fs/binfmt_misc.c:826:17: error: too few arguments to function 'panic'
@ 2021-11-25  9:59 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-11-25  9:59 UTC (permalink / raw)
  To: kbuild-all

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-25 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2021-11-25  9:59 ` kernel 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.