lkml.org 
[lkml]   [2022]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [akpm-mm:mm-unstable 255/261] include/linux/mm.h:1556:29: error: conflicting types for 'page_to_section'; have 'long unsigned int(const struct page *)'
On Sat, Jun 18, 2022 at 03:00:58PM +0800, kernel test robot wrote:
> config: parisc64-defconfig (https://download.01.org/0day-ci/archive/20220618/202206181437.AwvGIkuq-lkp@intel.com/config)

Ugh, SPARSEMEM without SPARSEMEM_VMEMMAP.

> include/linux/mm.h: In function 'destroy_large_folio':
> >> include/asm-generic/memory_model.h:35:21: error: implicit declaration of function 'page_to_section'; did you mean 'present_section'? [-Werror=implicit-function-declaration]
> include/linux/mm.h:214:38: note: in expansion of macro 'page_to_pfn'
> 214 | #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + (n))
> | ^~~~~~~~~~~

Needs some rearranging of the header file to make this work.

I don't think it's the right time to do that, and this patch can just be
dropped for this cycle. It shouldn't affect the subsequent patches in
the series, AFAICT.

\
 
 \ /
  Last update: 2022-06-18 23:08    [W:0.029 / U:0.488 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site