[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202502170903.Daw5Q7fC-lkp@intel.com>
Date: Mon, 17 Feb 2025 09:08:43 +0800
From: kernel test robot <lkp@...el.com>
To: Yunsheng Lin <linyunsheng@...wei.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>,
Alexander Duyck <alexanderduyck@...com>
Subject: mm/page_frag_cache.c:46 encoded_page_decode_page() warn: unsigned
'_x' is never less than zero.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0ad2507d5d93f39619fc42372c347d6006b64319
commit: 0c3ce2f50261cd2f654d931eeb933c370a3a7d7a mm: page_frag: reuse existing space for 'size' and 'pfmemalloc'
date: 3 months ago
config: riscv-randconfig-r073-20250213 (https://download.01.org/0day-ci/archive/20250217/202502170903.Daw5Q7fC-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 14.2.0
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502170903.Daw5Q7fC-lkp@intel.com/
New smatch warnings:
mm/page_frag_cache.c:46 encoded_page_decode_page() warn: unsigned '_x' is never less than zero.
Old smatch warnings:
include/linux/mm.h:1275 virt_to_head_page() warn: unsigned '_x' is never less than zero.
vim +/_x +46 mm/page_frag_cache.c
43
44 static struct page *encoded_page_decode_page(unsigned long encoded_page)
45 {
> 46 return virt_to_page((void *)encoded_page);
47 }
48
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists