All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android12-trusty-5.10 7840/7904] mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page'
@ 2024-08-21  3:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-21  3:39 UTC (permalink / raw)
  To: cros-kernel-buildreports; +Cc: oe-kbuild-all

Hi Charan,

FYI, the error/warning still remains.

tree:   https://android.googlesource.com/kernel/common android12-trusty-5.10
head:   965c5bcac1fe560c973001599bd2364659dc788c
commit: 8cd9aa93b7269460e8d5e4407738f21fe5d6e720 [7840/7904] ANDROID: implement wrapper for reverse migration
config: i386-buildonly-randconfig-006-20240821 (https://download.01.org/0day-ci/archive/20240821/202408211143.RgdPFXlA-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240821/202408211143.RgdPFXlA-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/202408211143.RgdPFXlA-lkp@intel.com/

All errors (new ones prefixed by >>):

>> mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page'
     766 | unsigned long isolate_and_split_free_page(struct page *page,
         |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from mm/compaction.c:14:
   include/linux/compaction.h:241:22: note: previous definition of 'isolate_and_split_free_page' with type 'long unsigned int(struct page *, struct list_head *)'
     241 | static unsigned long isolate_and_split_free_page(struct page *page,
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   mm/compaction.c:56:27: warning: 'HPAGE_FRAG_CHECK_INTERVAL_MSEC' defined but not used [-Wunused-const-variable=]
      56 | static const unsigned int HPAGE_FRAG_CHECK_INTERVAL_MSEC = 500;
         |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/compaction.h:241:22: warning: 'isolate_and_split_free_page' defined but not used [-Wunused-function]
     241 | static unsigned long isolate_and_split_free_page(struct page *page,
         |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for ADI_AXI_ADC
   Depends on [n]: IIO [=y] && HAS_IOMEM [=y] && OF [=n]
   Selected by [y]:
   - AD9467 [=y] && IIO [=y] && SPI [=y]


vim +/isolate_and_split_free_page +766 mm/compaction.c

   765	
 > 766	unsigned long isolate_and_split_free_page(struct page *page,
   767							struct list_head *list)
   768	{
   769		unsigned long isolated;
   770		unsigned int order;
   771	
   772		if (!PageBuddy(page))
   773			return 0;
   774	
   775		order = buddy_order(page);
   776		isolated = __isolate_free_page(page, order);
   777		if (!isolated)
   778			return 0;
   779	
   780		set_page_private(page, order);
   781		list_add(&page->lru, list);
   782	
   783		split_map_pages(list);
   784	
   785		return isolated;
   786	}
   787	EXPORT_SYMBOL_GPL(isolate_and_split_free_page);
   788	

-- 
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:[~2024-08-21  3:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21  3:39 [android-common:android12-trusty-5.10 7840/7904] mm/compaction.c:766:15: error: redefinition of 'isolate_and_split_free_page' 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.