mm/page_alloc.c:7043:20: error: unused function 'has_unaccepted_memory'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@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/202409061101.Jlx5z2fI-lkp@xxxxxxxxx/

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@xxxxxxxxxxxxxxx>
:::::: CC: Borislav Petkov (AMD) <bp@xxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux