[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202301031245.Ge5ReJE8-lkp@intel.com>
Date: Tue, 3 Jan 2023 12:40:42 +0800
From: kernel test robot <lkp@...el.com>
To: Hongchen Zhang <zhanghongchen@...ngson.cn>,
Alexander Viro <viro@...iv.linux.org.uk>,
Andrew Morton <akpm@...ux-foundation.org>,
Kuniyuki Iwashima <kuniyu@...zon.co.jp>,
Luis Chamberlain <mcgrof@...nel.org>,
David Howells <dhowells@...hat.com>,
Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Randy Dunlap <rdunlap@...radead.org>,
Eric Dumazet <edumazet@...gle.com>
Cc: oe-kbuild-all@...ts.linux.dev,
Linux Memory Management List <linux-mm@...ck.org>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pipe: use __pipe_{lock,unlock} instead of spinlock
Hi Hongchen,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on c8451c141e07a8d05693f6c8d0e418fbb4b68bb7]
url: https://github.com/intel-lab-lkp/linux/commits/Hongchen-Zhang/pipe-use-__pipe_-lock-unlock-instead-of-spinlock/20230103-110504
base: c8451c141e07a8d05693f6c8d0e418fbb4b68bb7
patch link: https://lore.kernel.org/r/20230103030329.20252-1-zhanghongchen%40loongson.cn
patch subject: [PATCH] pipe: use __pipe_{lock,unlock} instead of spinlock
config: sh-allmodconfig
compiler: sh4-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/74b922b9da7ec76cce2065114d07afc5065b2df9
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Hongchen-Zhang/pipe-use-__pipe_-lock-unlock-instead-of-spinlock/20230103-110504
git checkout 74b922b9da7ec76cce2065114d07afc5065b2df9
# 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=sh olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sh SHELL=/bin/bash net/tls/
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 >>):
In file included from include/linux/splice.h:12,
from net/tls/tls_sw.c:41:
include/linux/pipe_fs_i.h: In function '__pipe_lock':
>> include/linux/pipe_fs_i.h:228:41: error: 'I_MUTEX_PARENT' undeclared (first use in this function)
228 | mutex_lock_nested(&pipe->mutex, I_MUTEX_PARENT);
| ^~~~~~~~~~~~~~
include/linux/pipe_fs_i.h:228:41: note: each undeclared identifier is reported only once for each function it appears in
vim +/I_MUTEX_PARENT +228 include/linux/pipe_fs_i.h
224
225 /* Pipe lock and unlock operations */
226 static inline void __pipe_lock(struct pipe_inode_info *pipe)
227 {
> 228 mutex_lock_nested(&pipe->mutex, I_MUTEX_PARENT);
229 }
230
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (245804 bytes)
Powered by blists - more mailing lists