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>] [day] [month] [year] [list]
Message-ID: <202409061101.Jlx5z2fI-lkp@intel.com>
Date: Fri, 6 Sep 2024 11:44:37 +0800
From: kernel test robot <lkp@...el.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	Linux Memory Management List <linux-mm@...ck.org>
Subject: mm/page_alloc.c:7043:20: error: unused function
 'has_unaccepted_memory'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ad618736883b8970f66af799e34007475fe33a68
commit: 807174a93d24c456503692dc3f5af322ee0b640a mm: fix endless reclaim on machines with unaccepted memory
date:   3 weeks ago
config: x86_64-sof-customedconfig-avs-defconfig (https://download.01.org/0day-ci/archive/20240906/202409061101.Jlx5z2fI-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240906/202409061101.Jlx5z2fI-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/202409061101.Jlx5z2fI-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/page_alloc.c:7043:20: error: unused function 'has_unaccepted_memory' [-Werror,-Wunused-function]
    7043 | static inline bool has_unaccepted_memory(void)
         |                    ^~~~~~~~~~~~~~~~~~~~~
   1 error generated.


vim +/has_unaccepted_memory +7043 mm/page_alloc.c

dcdfdd40fa82b6 Kirill A. Shutemov 2023-06-06  7042  
dcdfdd40fa82b6 Kirill A. Shutemov 2023-06-06 @7043  static inline bool has_unaccepted_memory(void)
dcdfdd40fa82b6 Kirill A. Shutemov 2023-06-06  7044  {
dcdfdd40fa82b6 Kirill A. Shutemov 2023-06-06  7045  	return false;
dcdfdd40fa82b6 Kirill A. Shutemov 2023-06-06  7046  }
dcdfdd40fa82b6 Kirill A. Shutemov 2023-06-06  7047  

:::::: The code at line 7043 was first introduced by commit
:::::: dcdfdd40fa82b6704d2841938e5c8ec3051eb0d6 mm: Add support for unaccepted memory

:::::: TO: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
:::::: CC: Borislav Petkov (AMD) <bp@...en8.de>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists