From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3788981505262632383==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v3 1/2] kernfs: use hashed mutex and spinlock in place of global ones. Date: Thu, 13 Jan 2022 23:08:41 +0800 Message-ID: <202201132349.uRCekZ3g-lkp@intel.com> In-Reply-To: <20220113104259.1584491-2-imran.f.khan@oracle.com> List-Id: --===============3788981505262632383== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Imran, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on a70bf4a85b43cb952bd39dd948b103b1b3eb2cf8] url: https://github.com/0day-ci/linux/commits/Imran-Khan/kernfs-use-hash= ed-mutex-and-spinlock-in-place-of-global-ones/20220113-184429 base: a70bf4a85b43cb952bd39dd948b103b1b3eb2cf8 config: x86_64-randconfig-a011 (https://download.01.org/0day-ci/archive/202= 20113/202201132349.uRCekZ3g-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=3D1 build): # https://github.com/0day-ci/linux/commit/ee30c7abbab86fd9d653c0aef= b8655500dc517d4 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Imran-Khan/kernfs-use-hashed-mutex= -and-spinlock-in-place-of-global-ones/20220113-184429 git checkout ee30c7abbab86fd9d653c0aefb8655500dc517d4 # save the config file to linux build tree mkdir build_dir make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash fs/kernfs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> fs/kernfs/mount.c:390:13: warning: no previous prototype for 'kernfs_loc= k_init' [-Wmissing-prototypes] 390 | void __init kernfs_lock_init(void) | ^~~~~~~~~~~~~~~~ vim +/kernfs_lock_init +390 fs/kernfs/mount.c 389 = > 390 void __init kernfs_lock_init(void) 391 { 392 int count; 393 = 394 for (count =3D 0; count < NR_KERNFS_LOCKS; count++) { 395 spin_lock_init(&kernfs_global_locks.open_node_locks[count].lock); 396 mutex_init(&kernfs_global_locks.open_file_mutex[count].lock); 397 } 398 } 399 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org --===============3788981505262632383==--