Hi Hao, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] [also build test WARNING on linus/master v6.13-rc6 next-20250108] [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/Hao-Ge/tools-mm-Introduce-a-tool-to-handle-entries-in-allocinfo/20250106-192419 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20250106112103.25401-1-hao.ge%40linux.dev patch subject: [PATCH] tools/mm: Introduce a tool to handle entries in allocinfo compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250109/202501090823.W7WjUFM1-lkp@xxxxxxxxx/reproduce) 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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202501090823.W7WjUFM1-lkp@xxxxxxxxx/ All warnings (new ones prefixed by >>): >> allocinfo_tool.c:126:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 126 | } | ^ 1 warning generated. page-types.c:1003:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 1003 | end = off + sigbus_addr ? sigbus_addr - ptr : 0; | ~~~~~~~~~~~~~~~~~ ^ page-types.c:1003:28: note: place parentheses around the '+' expression to silence this warning 1003 | end = off + sigbus_addr ? sigbus_addr - ptr : 0; | ^ | ( ) page-types.c:1003:28: note: place parentheses around the '?:' expression to evaluate it first 1003 | end = off + sigbus_addr ? sigbus_addr - ptr : 0; | ^ | ( ) 1 warning generated. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki