All of lore.kernel.org
 help / color / mirror / Atom feed
* [p2pmem:remap_pages_cache 3/6] arch/powerpc/mm/book3s64/radix_pgtable.c:713:9: error: 'PAGE_KERNEl' undeclared; did you mean 'PAGE_KERNEL'?
@ 2019-10-12  0:50 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-10-12  0:50 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

tree:   https://github.com/sbates130272/linux-p2pmem.git remap_pages_cache
head:   6b6b28881f17f808a7440cf8e7e96802998e5c25
commit: d5e8cbcaf69d1e0f4613dbbf4b45b851de51b8c5 [3/6] powerpc/mm: Thread pgprot_t through create_section_mapping()
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d5e8cbcaf69d1e0f4613dbbf4b45b851de51b8c5
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   arch/powerpc/mm/book3s64/radix_pgtable.c: In function 'stop_machine_change_mapping':
>> arch/powerpc/mm/book3s64/radix_pgtable.c:713:9: error: 'PAGE_KERNEl' undeclared (first use in this function); did you mean 'PAGE_KERNEL'?
        -1, PAGE_KERNEl);
            ^~~~~~~~~~~
            PAGE_KERNEL
   arch/powerpc/mm/book3s64/radix_pgtable.c:713:9: note: each undeclared identifier is reported only once for each function it appears in

vim +713 arch/powerpc/mm/book3s64/radix_pgtable.c

   699	
   700	static int __meminit stop_machine_change_mapping(void *data)
   701	{
   702		struct change_mapping_params *params =
   703				(struct change_mapping_params *)data;
   704	
   705		if (!data)
   706			return -1;
   707	
   708		spin_unlock(&init_mm.page_table_lock);
   709		pte_clear(&init_mm, params->aligned_start, params->pte);
   710		create_physical_mapping(__pa(params->aligned_start),
   711					__pa(params->start), -1, PAGE_KERNEL);
   712		create_physical_mapping(__pa(params->end), __pa(params->aligned_end),
 > 713					-1, PAGE_KERNEl);
   714		spin_lock(&init_mm.page_table_lock);
   715		return 0;
   716	}
   717	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 62901 bytes --]

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

only message in thread, other threads:[~2019-10-12  0:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-12  0:50 [p2pmem:remap_pages_cache 3/6] arch/powerpc/mm/book3s64/radix_pgtable.c:713:9: error: 'PAGE_KERNEl' undeclared; did you mean 'PAGE_KERNEL'? kbuild 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.