linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Somala Swaraj <somalaswaraj@gmail.com>,
	Johannes Weiner <hannes@cmpxchg.org>
Subject: [hnaz-linux-mm:master 294/340] arch/arm64/mm/context.c:266:1: error: expected identifier or '(' before '{' token
Date: Tue, 10 Mar 2020 15:47:59 +0800	[thread overview]
Message-ID: <202003101552.S8mr9RVE%lkp@intel.com> (raw)

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

tree:   https://github.com/hnaz/linux-mm master
head:   5d9ee416b5701096536c7a63c04dbe25012baa9e
commit: 7cb12f5cc10e701db5b74272c313fc71908d818a [294/340] linux-next-git-rejects
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.2.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 7cb12f5cc10e701db5b74272c313fc71908d818a
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=arm64 

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

All errors (new ones prefixed by >>):

>> arch/arm64/mm/context.c:266:1: error: expected identifier or '(' before '{' token
     266 | {
         | ^

vim +266 arch/arm64/mm/context.c

21fec3084a2f24 Andrew Morton 2020-03-10  265  
21fec3084a2f24 Andrew Morton 2020-03-10 @266  {
21fec3084a2f24 Andrew Morton 2020-03-10  267  	unsigned long ttbr1 = read_sysreg(ttbr1_el1);
21fec3084a2f24 Andrew Morton 2020-03-10  268  	unsigned long asid = ASID(mm);
21fec3084a2f24 Andrew Morton 2020-03-10  269  	unsigned long ttbr0 = phys_to_ttbr(pgd_phys);
21fec3084a2f24 Andrew Morton 2020-03-10  270  
21fec3084a2f24 Andrew Morton 2020-03-10  271  	/* Skip CNP for the reserved ASID */
21fec3084a2f24 Andrew Morton 2020-03-10  272  	if (system_supports_cnp() && asid)
21fec3084a2f24 Andrew Morton 2020-03-10  273  		ttbr0 |= TTBR_CNP_BIT;
21fec3084a2f24 Andrew Morton 2020-03-10  274  
21fec3084a2f24 Andrew Morton 2020-03-10  275  	/* SW PAN needs a copy of the ASID in TTBR0 for entry */
21fec3084a2f24 Andrew Morton 2020-03-10  276  	if (IS_ENABLED(CONFIG_ARM64_SW_TTBR0_PAN))
21fec3084a2f24 Andrew Morton 2020-03-10  277  		ttbr0 |= FIELD_PREP(TTBR_ASID_MASK, asid);
21fec3084a2f24 Andrew Morton 2020-03-10  278  
21fec3084a2f24 Andrew Morton 2020-03-10  279  	/* Set ASID in TTBR1 since TCR.A1 is set */
21fec3084a2f24 Andrew Morton 2020-03-10  280  	ttbr1 &= ~TTBR_ASID_MASK;
21fec3084a2f24 Andrew Morton 2020-03-10  281  	ttbr1 |= FIELD_PREP(TTBR_ASID_MASK, asid);
21fec3084a2f24 Andrew Morton 2020-03-10  282  
21fec3084a2f24 Andrew Morton 2020-03-10  283  	write_sysreg(ttbr1, ttbr1_el1);
21fec3084a2f24 Andrew Morton 2020-03-10  284  	isb();
21fec3084a2f24 Andrew Morton 2020-03-10  285  	write_sysreg(ttbr0, ttbr0_el1);
21fec3084a2f24 Andrew Morton 2020-03-10  286  	isb();
21fec3084a2f24 Andrew Morton 2020-03-10  287  	post_ttbr_update_workaround();
95e3de3590e3f2 Marc Zyngier  2018-01-02  288  }
95e3de3590e3f2 Marc Zyngier  2018-01-02  289  

:::::: The code at line 266 was first introduced by commit
:::::: 21fec3084a2f249b381d729e38376fbea0554651 linux-next

:::::: TO: Andrew Morton <akpm@linux-foundation.org>
:::::: CC: Johannes Weiner <hannes@cmpxchg.org>

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

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

                 reply	other threads:[~2020-03-10  7:48 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=202003101552.S8mr9RVE%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=somalaswaraj@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox