public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: yaoaili126@163.com, rjw@rjwysocki.net, lenb@kernel.org,
	tony.luck@intel.com, bp@alien8.de, james.morse@arm.com
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	linux-acpi@vger.kernel.org, linux-edac@vger.kernel.org,
	yangfeng1@kingsoft.com, CHENGUOMIN@kingsoft.com,
	yaoaili@kingsoft.com
Subject: Re: [PATCH] Fix randconfig build error and code bug
Date: Wed, 11 Nov 2020 04:34:47 +0800	[thread overview]
Message-ID: <202011110404.d4MfIZ0A-lkp@intel.com> (raw)
In-Reply-To: <20201105114326.353021-1-yaoaili126@163.com>

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

Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on b11831c841cb8046a9e01300f5d91985c293e045]

url:    https://github.com/0day-ci/linux/commits/yaoaili126-163-com/Fix-randconfig-build-error-and-code-bug/20201105-222108
base:    b11831c841cb8046a9e01300f5d91985c293e045
config: x86_64-randconfig-a015-20201110 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 4d81c8adb6ed9840257f6cb6b93f60856d422a15)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/d1203fe379a2190e7ff5d40a30465bea2c98a47f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review yaoaili126-163-com/Fix-randconfig-build-error-and-code-bug/20201105-222108
        git checkout d1203fe379a2190e7ff5d40a30465bea2c98a47f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/cpu/mce/apei.c:27:
>> arch/x86/kernel/cpu/mce/internal.h:95:19: error: static declaration of 'ghes_in_mce_cper_entry_check' follows non-static declaration
   static inline int ghes_in_mce_cper_entry_check(void)
                     ^
   include/acpi/ghes.h:130:5: note: previous declaration is here
   int ghes_in_mce_cper_entry_check(void);
       ^
   1 error generated.

vim +/ghes_in_mce_cper_entry_check +95 arch/x86/kernel/cpu/mce/internal.h

d1203fe379a2190 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-05   91  
d1203fe379a2190 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-05   92  #ifdef CONFIG_ACPI_APEI_GHES
d1203fe379a2190 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-05   93  extern int ghes_in_mce_cper_entry_check(void);
d1203fe379a2190 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-05   94  #else
b11831c841cb804 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-03  @95  static inline int ghes_in_mce_cper_entry_check(void)
b11831c841cb804 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-03   96  {
b11831c841cb804 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-03   97  	return 0;
b11831c841cb804 arch/x86/kernel/cpu/mce/internal.h        Aili Yao        2020-11-03   98  }
482908b49ebfa45 arch/x86/kernel/cpu/mcheck/mce-internal.h Huang Ying      2010-05-18   99  #endif
a79da38494ec23f arch/x86/kernel/cpu/mcheck/mce-internal.h Borislav Petkov 2015-08-12  100  

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

      parent reply	other threads:[~2020-11-10 20:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <202011041829.KUaqiCq1-lkp () intel ! com>
2020-11-05 11:43 ` [PATCH] Fix randconfig build error and code bug yaoaili126
2020-11-06 19:34   ` James Morse
2020-11-10 20:34   ` kernel test robot [this message]

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=202011110404.d4MfIZ0A-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=CHENGUOMIN@kingsoft.com \
    --cc=bp@alien8.de \
    --cc=clang-built-linux@googlegroups.com \
    --cc=james.morse@arm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-edac@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=tony.luck@intel.com \
    --cc=yangfeng1@kingsoft.com \
    --cc=yaoaili126@163.com \
    --cc=yaoaili@kingsoft.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