Re: [PATCH v3 4/4] sched/psi: allow unprivileged polling of N*2s period
From: kernel test robot
Date: Wed Mar 29 2023 - 09:37:05 EST
Hi Domenico,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/sched/core]
[also build test ERROR on tj-cgroup/for-next vfs-idmapping/for-next linus/master v6.3-rc4 next-20230329]
[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/Domenico-Cerasuolo/sched-psi-rearrange-polling-code-in-preparation/20230329-155205
patch link: https://lore.kernel.org/r/20230329074842.16209-5-cerasuolodomenico%40gmail.com
patch subject: [PATCH v3 4/4] sched/psi: allow unprivileged polling of N*2s period
config: riscv-allmodconfig (https://download.01.org/0day-ci/archive/20230329/202303292129.PLXZnmls-lkp@xxxxxxxxx/config)
compiler: riscv64-linux-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/6c9f1219e1ccea05926017b359e41bfff24e9bd9
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Domenico-Cerasuolo/sched-psi-rearrange-polling-code-in-preparation/20230329-155205
git checkout 6c9f1219e1ccea05926017b359e41bfff24e9bd9
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash kernel/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Link: https://lore.kernel.org/oe-kbuild-all/202303292129.PLXZnmls-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from kernel/sched/build_utility.c:97:
kernel/sched/psi.c: In function 'psi_irq_open':
>> kernel/sched/psi.c:1602:16: error: implicit declaration of function 'psi_open'; did you mean 'psi_io_open'? [-Werror=implicit-function-declaration]
1602 | return psi_open(file, psi_irq_show);
| ^~~~~~~~
| psi_io_open
cc1: some warnings being treated as errors
vim +1602 kernel/sched/psi.c
52b1364ba0b105 Chengming Zhou 2022-08-26 1599
52b1364ba0b105 Chengming Zhou 2022-08-26 1600 static int psi_irq_open(struct inode *inode, struct file *file)
52b1364ba0b105 Chengming Zhou 2022-08-26 1601 {
52b1364ba0b105 Chengming Zhou 2022-08-26 @1602 return psi_open(file, psi_irq_show);
52b1364ba0b105 Chengming Zhou 2022-08-26 1603 }
52b1364ba0b105 Chengming Zhou 2022-08-26 1604
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests