All of lore.kernel.org
 help / color / mirror / Atom feed
* [hch-misc:sanitize-vmalloc-api.2 18/28] arch/arm/include/asm/pgtable.h:116:28: error: expected ', ' or ')', found "prot"
@ 2020-04-08 17:36 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-08 17:36 UTC (permalink / raw)
  To: kbuild-all

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

tree:   git://git.infradead.org/users/hch/misc.git sanitize-vmalloc-api.2
head:   91302213cd076dc3c4c235af530091b81f81749c
commit: edeb4dede44ae9bbcd09d441e3cf7ece063428f1 [18/28] mm: enforce that vmap can't map pages executable
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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 edeb4dede44ae9bbcd09d441e3cf7ece063428f1
        # save the attached .config to linux build tree
        GCC_VERSION=9.3.0 make.cross ARCH=arm 

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

All errors (new ones prefixed by >>):

   In file included from include/linux/mm.h:95,
                    from arch/arm/kernel/asm-offsets.c:12:
>> arch/arm/include/asm/pgtable.h:116:28: error: expected ',' or ')', found "prot"
     116 | #define pgprot_nx(pgprot_t prot) \
         |                            ^~~~
   make[2]: *** [scripts/Makefile.build:101: arch/arm/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1121: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:180: sub-make] Error 2
   19 real  5 user  9 sys  78.83% cpu 	make prepare

vim +116 arch/arm/include/asm/pgtable.h

   103	
   104	#define __pgprot_modify(prot,mask,bits)		\
   105		__pgprot((pgprot_val(prot) & ~(mask)) | (bits))
   106	
   107	#define pgprot_noncached(prot) \
   108		__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
   109	
   110	#define pgprot_writecombine(prot) \
   111		__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_BUFFERABLE)
   112	
   113	#define pgprot_stronglyordered(prot) \
   114		__pgprot_modify(prot, L_PTE_MT_MASK, L_PTE_MT_UNCACHED)
   115	
 > 116	#define pgprot_nx(pgprot_t prot) \
   117		__pgprot_modify(prot, 0, PTE_PXN)
   118	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

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

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

only message in thread, other threads:[~2020-04-08 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-08 17:36 [hch-misc:sanitize-vmalloc-api.2 18/28] arch/arm/include/asm/pgtable.h:116:28: error: expected ', ' or ')', found "prot" 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.