Hi Joanne, kernel test robot noticed the following build errors: [auto build test ERROR on mszeredi-fuse/for-next] [also build test ERROR on linus/master v6.11-rc1 next-20240730] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Joanne-Koong/fuse-add-optional-kernel-enforced-timeout-for-requests/20240730-085106 base: https://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next patch link: https://lore.kernel.org/r/20240730002348.3431931-3-joannelkoong%40gmail.com patch subject: [PATCH v2 2/2] fuse: add default_request_timeout and max_request_timeout sysctls config: i386-buildonly-randconfig-001-20240730 (https://download.01.org/0day-ci/archive/20240730/202407301513.fphdIYEE-lkp@xxxxxxxxx/config) compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240730/202407301513.fphdIYEE-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202407301513.fphdIYEE-lkp@xxxxxxxxx/ All error/warnings (new ones prefixed by >>): >> fs/fuse/sysctl.c:30:30: error: macro "fuse_sysctl_register" passed 1 arguments, but takes just 0 30 | int fuse_sysctl_register(void) | ^ In file included from fs/fuse/sysctl.c:9: fs/fuse/fuse_i.h:1501: note: macro "fuse_sysctl_register" defined here 1501 | #define fuse_sysctl_register() (0) | >> fs/fuse/sysctl.c:31:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 31 | { | ^ >> fs/fuse/sysctl.c:38:33: error: macro "fuse_sysctl_unregister" passed 1 arguments, but takes just 0 38 | void fuse_sysctl_unregister(void) | ^ fs/fuse/fuse_i.h:1502: note: macro "fuse_sysctl_unregister" defined here 1502 | #define fuse_sysctl_unregister() do { } while (0) | fs/fuse/sysctl.c:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token 39 | { | ^ >> fs/fuse/sysctl.c:13:25: warning: 'fuse_sysctl_table' defined but not used [-Wunused-variable] 13 | static struct ctl_table fuse_sysctl_table[] = { | ^~~~~~~~~~~~~~~~~ >> fs/fuse/sysctl.c:11:33: warning: 'fuse_table_header' defined but not used [-Wunused-variable] 11 | static struct ctl_table_header *fuse_table_header; | ^~~~~~~~~~~~~~~~~ vim +/fuse_sysctl_register +30 fs/fuse/sysctl.c 10 > 11 static struct ctl_table_header *fuse_table_header; 12 > 13 static struct ctl_table fuse_sysctl_table[] = { 14 { 15 .procname = "default_request_timeout", 16 .data = &fuse_default_req_timeout, 17 .maxlen = sizeof(fuse_default_req_timeout), 18 .mode = 0644, 19 .proc_handler = proc_douintvec, 20 }, 21 { 22 .procname = "max_request_timeout", 23 .data = &fuse_max_req_timeout, 24 .maxlen = sizeof(fuse_max_req_timeout), 25 .mode = 0644, 26 .proc_handler = proc_douintvec, 27 }, 28 }; 29 > 30 int fuse_sysctl_register(void) > 31 { 32 fuse_table_header = register_sysctl("fs/fuse", fuse_sysctl_table); 33 if (!fuse_table_header) 34 return -ENOMEM; 35 return 0; 36 } 37 > 38 void fuse_sysctl_unregister(void) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki