All of lore.kernel.org
 help / color / mirror / Atom feed
* [anolis-intel-cloud:intel-6.6-DMR-ISA-ANBZ35251 7/7] mm/page_alloc.c:297:20: warning: 'add_to_free_list' declared 'static' but never defined
@ 2026-05-14 18:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-05-14 18:52 UTC (permalink / raw)
  To: aubrey.li; +Cc: oe-kbuild-all

Hi Johannes,

FYI, the error/warning still remains.

tree:   https://gitee.com/anolis/intel-cloud-kernel.git intel-6.6-DMR-ISA-ANBZ35251
head:   1b8b6044ea621040ede1783279f18a666da924a8
commit: dce9170c150f27ea23a2a52e539cc02b6957b595 [7/7] mm: page_alloc: batch vmstat updates in expand()
config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20260515/202605150216.uSLaJApy-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.4.0-5) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260515/202605150216.uSLaJApy-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605150216.uSLaJApy-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> mm/page_alloc.c:297:20: warning: 'add_to_free_list' declared 'static' but never defined [-Wunused-function]
     297 | static inline void add_to_free_list(struct page *page, struct zone *zone,
         |                    ^~~~~~~~~~~~~~~~


vim +297 mm/page_alloc.c

418508c13222ddb Miklos Szeredi     2007-05-23  292  
dcdfdd40fa82b67 Kirill A. Shutemov 2023-06-06  293  static bool page_contains_unaccepted(struct page *page, unsigned int order);
dcdfdd40fa82b67 Kirill A. Shutemov 2023-06-06  294  static void accept_page(struct page *page, unsigned int order);
b77471c6760a22d Kirill A. Shutemov 2024-08-09  295  static bool cond_accept_memory(struct zone *zone, unsigned int order);
dcdfdd40fa82b67 Kirill A. Shutemov 2023-06-06  296  static bool __free_unaccepted(struct page *page);
8c8774fcbaf4763 Johannes Weiner    2024-03-20 @297  static inline void add_to_free_list(struct page *page, struct zone *zone,
8c8774fcbaf4763 Johannes Weiner    2024-03-20  298                                      unsigned int order, int migratetype,
8c8774fcbaf4763 Johannes Weiner    2024-03-20  299                                      bool tail);
dcdfdd40fa82b67 Kirill A. Shutemov 2023-06-06  300  

:::::: The code at line 297 was first introduced by commit
:::::: 8c8774fcbaf47634f07ee957e9cd9403f5e0ce2c mm: page_alloc: consolidate free page accounting

:::::: TO: Johannes Weiner <hannes@cmpxchg.org>
:::::: CC: 小龙 <wenqing.ly@alibaba-inc.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-14 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-14 18:52 [anolis-intel-cloud:intel-6.6-DMR-ISA-ANBZ35251 7/7] mm/page_alloc.c:297:20: warning: 'add_to_free_list' declared 'static' but never defined kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.