tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-stable.git
linux-5.4.y
head: 32f28e611d66c134f14ab2a9c4e825899360185c
commit: e0edeff7d744dd471f7264bac4824a8f4e3b613f [68/304] f2fs: support data compression
config: i386-randconfig-m021-20200811 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
smatch warnings:
fs/f2fs/compress.c:276 lz4_decompress_pages() warn: should '((1) << 12) <<
dic->log_cluster_size' be a 64 bit type?
vim +276 fs/f2fs/compress.c
262
263 static int lz4_decompress_pages(struct decompress_io_ctx *dic)
264 {
265 int ret;
266
267 ret = LZ4_decompress_safe(dic->cbuf->cdata, dic->rbuf,
268 dic->clen, dic->rlen);
269 if (ret < 0) {
270 printk_ratelimited("%sF2FS-fs (%s): lz4 decompress failed, ret:%d\n",
271 KERN_ERR, F2FS_I_SB(dic->inode)->sb->s_id, ret);
272 return -EIO;
273 }
274
275 if (ret != PAGE_SIZE << dic->log_cluster_size) {
276 printk_ratelimited("%sF2FS-fs (%s): lz4 invalid rlen:%zu,
"
277 "expected:%lu\n", KERN_ERR,
278 F2FS_I_SB(dic->inode)->sb->s_id,
279 dic->rlen,
280 PAGE_SIZE << dic->log_cluster_size);
281 return -EIO;
282 }
283 return 0;
284 }
285
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org