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@01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Waiman Long <longman@redhat.com>,
	Johannes Weiner <hannes@cmpxchg.org>
Subject: [mmotm:master 292/344] arch/arm64/kernel/cpufeature.c:861:13: error: redefinition of 'has_cache_idc'
Date: Fri, 6 Apr 2018 12:36:15 +0800	[thread overview]
Message-ID: <201804061212.Mn1KNzPl%fengguang.wu@intel.com> (raw)

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

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   b3cb758191e277309596782a5c8e8c8795bf083b
commit: b35dadcddc6065392808a3bf504b115602b9de45 [292/344] linux-next-git-rejects
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.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 b35dadcddc6065392808a3bf504b115602b9de45
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> arch/arm64/kernel/cpufeature.c:861:13: error: redefinition of 'has_cache_idc'
    static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
                ^~~~~~~~~~~~~
   arch/arm64/kernel/cpufeature.c:849:13: note: previous definition of 'has_cache_idc' was here
    static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
                ^~~~~~~~~~~~~
>> arch/arm64/kernel/cpufeature.c:867:13: error: redefinition of 'has_cache_dic'
    static bool has_cache_dic(const struct arm64_cpu_capabilities *entry,
                ^~~~~~~~~~~~~
   arch/arm64/kernel/cpufeature.c:855:13: note: previous definition of 'has_cache_dic' was here
    static bool has_cache_dic(const struct arm64_cpu_capabilities *entry,
                ^~~~~~~~~~~~~
   arch/arm64/kernel/cpufeature.c:855:13: warning: 'has_cache_dic' defined but not used [-Wunused-function]
   arch/arm64/kernel/cpufeature.c:849:13: warning: 'has_cache_idc' defined but not used [-Wunused-function]
    static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
                ^~~~~~~~~~~~~

vim +/has_cache_idc +861 arch/arm64/kernel/cpufeature.c

aa77087f Andrew Morton 2018-04-06  860  
aa77087f Andrew Morton 2018-04-06 @861  static bool has_cache_idc(const struct arm64_cpu_capabilities *entry,
aa77087f Andrew Morton 2018-04-06  862  			  int __unused)
5f436c71 Andrew Morton 2018-04-06  863  {
5f436c71 Andrew Morton 2018-04-06  864  	return read_sanitised_ftr_reg(SYS_CTR_EL0) & BIT(CTR_IDC_SHIFT);
5f436c71 Andrew Morton 2018-04-06  865  }
5f436c71 Andrew Morton 2018-04-06  866  
5f436c71 Andrew Morton 2018-04-06 @867  static bool has_cache_dic(const struct arm64_cpu_capabilities *entry,
5f436c71 Andrew Morton 2018-04-06  868  			  int __unused)
5f436c71 Andrew Morton 2018-04-06  869  {
5f436c71 Andrew Morton 2018-04-06  870  	return read_sanitised_ftr_reg(SYS_CTR_EL0) & BIT(CTR_DIC_SHIFT);
5f436c71 Andrew Morton 2018-04-06  871  }
5f436c71 Andrew Morton 2018-04-06  872  

:::::: The code at line 861 was first introduced by commit
:::::: aa77087f8d6cefa001dbe0bec0c7fdef56c552e4 linux-next

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

---
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: 37476 bytes --]

                 reply	other threads:[~2018-04-06  4:37 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=201804061212.Mn1KNzPl%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    --cc=longman@redhat.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