lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202501090823.W7WjUFM1-lkp@intel.com>
Date: Thu, 9 Jan 2025 08:19:41 +0800
From: kernel test robot <lkp@...el.com>
To: Hao Ge <hao.ge@...ux.dev>, akpm@...ux-foundation.org, surenb@...gle.com,
	kent.overstreet@...ux.dev
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org, hao.ge@...ux.dev, Hao Ge <gehao@...inos.cn>
Subject: Re: [PATCH] tools/mm: Introduce a tool to handle entries in allocinfo

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@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501090823.W7WjUFM1-lkp@intel.com/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ