[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202301111505.OhBqJExR-lkp@intel.com>
Date: Wed, 11 Jan 2023 15:54:48 +0800
From: kernel test robot <lkp@...el.com>
To: Chengming Zhou <zhouchengming@...edance.com>,
viro@...iv.linux.org.uk
Cc: oe-kbuild-all@...ts.linux.dev, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Chengming Zhou <zhouchengming@...edance.com>
Subject: Re: [PATCH] fs/pipe: Delete unused do_pipe_flags()
Hi Chengming,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.2-rc3 next-20230111]
[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/Chengming-Zhou/fs-pipe-Delete-unused-do_pipe_flags/20230111-110736
patch link: https://lore.kernel.org/r/20230111030547.7730-1-zhouchengming%40bytedance.com
patch subject: [PATCH] fs/pipe: Delete unused do_pipe_flags()
config: alpha-defconfig
compiler: alpha-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/ad99d13fde4e706fb2ceeeef7606be436afd204d
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Chengming-Zhou/fs-pipe-Delete-unused-do_pipe_flags/20230111-110736
git checkout ad99d13fde4e706fb2ceeeef7606be436afd204d
# 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=alpha olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arch/alpha/kernel/osf_sys.c: In function 'sys_alpha_pipe':
>> arch/alpha/kernel/osf_sys.c:1315:19: error: implicit declaration of function 'do_pipe_flags'; did you mean 'folio_flags'? [-Werror=implicit-function-declaration]
1315 | int res = do_pipe_flags(fd, 0);
| ^~~~~~~~~~~~~
| folio_flags
cc1: some warnings being treated as errors
vim +1315 arch/alpha/kernel/osf_sys.c
be53db6e4edd9d Al Viro 2012-08-19 1311
be53db6e4edd9d Al Viro 2012-08-19 1312 SYSCALL_DEFINE0(alpha_pipe)
be53db6e4edd9d Al Viro 2012-08-19 1313 {
be53db6e4edd9d Al Viro 2012-08-19 1314 int fd[2];
be53db6e4edd9d Al Viro 2012-08-19 @1315 int res = do_pipe_flags(fd, 0);
be53db6e4edd9d Al Viro 2012-08-19 1316 if (!res) {
be53db6e4edd9d Al Viro 2012-08-19 1317 /* The return values are in $0 and $20. */
be53db6e4edd9d Al Viro 2012-08-19 1318 current_pt_regs()->r20 = fd[1];
be53db6e4edd9d Al Viro 2012-08-19 1319 res = fd[0];
be53db6e4edd9d Al Viro 2012-08-19 1320 }
be53db6e4edd9d Al Viro 2012-08-19 1321 return res;
be53db6e4edd9d Al Viro 2012-08-19 1322 }
be53db6e4edd9d Al Viro 2012-08-19 1323
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (61619 bytes)
Powered by blists - more mailing lists