All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <rong.a.chen@intel.com>
To: kbuild-all@lists.01.org
Subject: [sashal-linux-stable:queue-5.10 48/49] arch/arm64/kernel/cpufeature.c:1706:0: warning: Invalid number of character '{' when these macros are defined: 'CONFIG_ARM64_MTE'.
Date: Wed, 17 Feb 2021 21:02:52 +0800	[thread overview]
Message-ID: <20210217130252.GS219708@shao2-debian> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-5.10
head:   900aea7691ecf9b39e819be55f95a940c75cc3ac
commit: 36c5708fe6f882433a4915efa46f05ad58b52eb3 [48/49] arm64: mte: Allow PTRACE_PEEKMTETAGS access to the zero page
compiler: aarch64-linux-gcc (GCC) 9.3.0

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


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> arch/arm64/kernel/cpufeature.c:1706:0: warning: Invalid number of character '{' when these macros are defined: 'CONFIG_ARM64_MTE'. [syntaxError]
   
   ^

vim +1706 arch/arm64/kernel/cpufeature.c

8ef8f360cf30be Dave Martin     2020-03-16  1695  
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1696  #ifdef CONFIG_ARM64_MTE
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1697  static void cpu_enable_mte(struct arm64_cpu_capabilities const *cap)
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1698  {
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1699  	/*
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1700  	 * Clear the tags in the zero page. This needs to be done via the
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1701  	 * linear map which has the Tagged attribute.
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1702  	 */
36c5708fe6f882 Catalin Marinas 2021-02-10  1703  	if (!test_and_set_bit(PG_mte_tagged, &ZERO_PAGE(0)->flags))
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1704  		mte_clear_page_tags(lm_alias(empty_zero_page));
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1705  	}
34bfeea4a9e9cd Catalin Marinas 2020-05-04 @1706  }
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1707  #endif /* CONFIG_ARM64_MTE */
34bfeea4a9e9cd Catalin Marinas 2020-05-04  1708  

:::::: The code at line 1706 was first introduced by commit
:::::: 34bfeea4a9e9cdae713637541f240c3adfdfede3 arm64: mte: Clear the tags when a page is mapped in user-space with PROT_MTE

:::::: TO: Catalin Marinas <catalin.marinas@arm.com>
:::::: CC: Catalin Marinas <catalin.marinas@arm.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
_______________________________________________
kbuild mailing list -- kbuild(a)lists.01.org
To unsubscribe send an email to kbuild-leave(a)lists.01.org

             reply	other threads:[~2021-02-17 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-17 13:02 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-15  2:39 [sashal-linux-stable:queue-5.10 48/49] arch/arm64/kernel/cpufeature.c:1706:0: warning: Invalid number of character '{' when these macros are defined: 'CONFIG_ARM64_MTE' kernel test robot

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=20210217130252.GS219708@shao2-debian \
    --to=rong.a.chen@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.