[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202301141147.AYezdBCD-lkp@intel.com>
Date: Sat, 14 Jan 2023 11:59:41 +0800
From: kernel test robot <lkp@...el.com>
To: Gao Xiang <hsiangkao@...ux.alibaba.com>,
linux-erofs@...ts.ozlabs.org, Chao Yu <yuchao0@...wei.com>,
Chao Yu <chao@...nel.org>, Yue Hu <huyue2@...lpad.com>,
Jeffle Xu <jefflexu@...ux.alibaba.com>
Cc: oe-kbuild-all@...ts.linux.dev, LKML <linux-kernel@...r.kernel.org>,
Gao Xiang <hsiangkao@...ux.alibaba.com>
Subject: Re: [PATCH v2 1/2] erofs: cleanup erofs_iget()
Hi Gao,
I love your patch! Perhaps something to improve:
[auto build test WARNING on xiang-erofs/dev-test]
[also build test WARNING on xiang-erofs/dev xiang-erofs/fixes linus/master v6.2-rc3 next-20230113]
[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/Gao-Xiang/erofs-remove-linux-buffer_head-h-dependency/20230114-100018
base: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test
patch link: https://lore.kernel.org/r/20230114015812.96836-1-hsiangkao%40linux.alibaba.com
patch subject: [PATCH v2 1/2] erofs: cleanup erofs_iget()
config: ia64-allyesconfig
compiler: ia64-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/ede350f68141cc6bdc88c627e0f8f992f1b26307
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Gao-Xiang/erofs-remove-linux-buffer_head-h-dependency/20230114-100018
git checkout ede350f68141cc6bdc88c627e0f8f992f1b26307
# 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=ia64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=ia64 SHELL=/bin/bash fs/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
fs/erofs/inode.c: In function 'erofs_squash_ino':
>> fs/erofs/inode.c:319:28: warning: right shift count >= width of type [-Wshift-count-overflow]
319 | ino ^= nid >> sizeof(ino_t) * 8;
| ^~
vim +319 fs/erofs/inode.c
309
310 /*
311 * ino_t is 32-bits on 32-bit arch. We have to squash the 64-bit value down
312 * so that it will fit.
313 */
314 static ino_t erofs_squash_ino(erofs_nid_t nid)
315 {
316 ino_t ino = (ino_t)nid;
317
318 if (sizeof(ino_t) < sizeof(erofs_nid_t))
> 319 ino ^= nid >> sizeof(ino_t) * 8;
320 return ino;
321 }
322
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
View attachment "config" of type "text/plain" (324424 bytes)
Powered by blists - more mailing lists