Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579303

Re: [PATCH v2 2/2] x86/purgatory: Fix sparse warning, symbol not declared

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] x86/purgatory: Fix sparse warning, symbol not declared
Date 2017-02-12 23:10 +0100
Message-ID <taavg-3pl-19@gated-at.bofh.it> (permalink)
References <ta9zc-2Qd-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Tobin,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.10-rc8 next-20170210]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Tobin-C-Harding/x86-purgatory-Fix-sparse-warnings/20170213-051217
config: x86_64-randconfig-x001-201707 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/purgatory/purgatory.h: Assembler messages:
>> arch/x86/purgatory/purgatory.h:4: Error: no such instruction: `extern void purgatory(void)'
   make[2]: *** [arch/x86/purgatory/setup-x86_64.o] Error 1
   make[2]: Target 'arch/x86/purgatory/kexec-purgatory.c' not remade because of errors.
   make[1]: *** [archprepare] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +4 arch/x86/purgatory/purgatory.h

     1	#ifndef PURGATORY_H
     2	#define PURGATORY_H
     3	
   > 4	extern void purgatory(void);
     5	
     6	#endif /* PURGATORY_H */
     7	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] x86/purgatory: Fix sparse warnings "Tobin C. Harding" <me@tobin.cc> - 2017-02-12 22:10 +0100
  [PATCH v2 2/2] x86/purgatory: Fix sparse warning, symbol not declared "Tobin C. Harding" <me@tobin.cc> - 2017-02-12 22:10 +0100
    Re: [PATCH v2 2/2] x86/purgatory: Fix sparse warning, symbol not  declared kbuild test robot <lkp@intel.com> - 2017-02-12 23:10 +0100

csiph-web