All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [hch-misc:sanitize-vmalloc-api.2 18/28] arch/arm/include/asm/pgtable.h:116:28: error: expected ', ' or ')', found "prot"
Date: Thu, 09 Apr 2020 01:36:31 +0800	[thread overview]
Message-ID: <202004090129.VPedk2TW%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-04-08 17:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202004090129.VPedk2TW%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.