linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Incorrect usage of macro ALTERNATIVE in arch/x86/include/asm/arch_hweight.h
       [not found] <c6e51242-de66-2bde-bee1-bf63fea31fae@marian1000.go.ro>
@ 2017-04-13  9:43 ` Borislav Petkov
  0 siblings, 0 replies; only message in thread
From: Borislav Petkov @ 2017-04-13  9:43 UTC (permalink / raw)
  To: Corcodel Marian
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86, linux-kernel

On Wed, Apr 12, 2017 at 05:38:59PM +0300, Corcodel Marian wrote:
> 1. Remove suppress errors message from compiler
> 
> 2 . Run make to compile kernel
> 
> Bellow is errors message from compiler:
> 
> ./arch/x86/include/asm/arch_hweight.h: In function '__arch_hweight32':
> ./arch/x86/include/asm/arch_hweight.h:31:7: error: expected string literal
> before 'ALTERNATIVE'
>   asm (ALTERNATIVE("call __sw_hweight32", POPCNT32, X86_FEATURE_POPCNT)
>        ^
> ./arch/x86/include/asm/arch_hweight.h: In function '__arch_hweight64':
> ./arch/x86/include/asm/arch_hweight.h:59:7: error: expected string literal
> before 'ALTERNATIVE'
>   asm (ALTERNATIVE("call __sw_hweight64", POPCNT64, X86_FEATURE_POPCNT)
> 
> 
> How determine contacts:
> 
> From terminal run:
> 
> asu@asu-ALABAMA:~/KERNEL/test4/linux-4.6.2$ perl scripts/get_maintainer.pl
> -f arch/x86/include/asm/arch_hweight.hperl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>     LANGUAGE = "en",
>     LC_ALL = (unset),
>     LANG = "ro_RO.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> Bad divisor in main::vcs_assign: 0
> Thomas Gleixner <tglx@linutronix.de> (maintainer:X86 ARCHITECTURE (32-BIT
> AND 64-BIT))
> Ingo Molnar <mingo@redhat.com> (maintainer:X86 ARCHITECTURE (32-BIT AND
> 64-BIT))
> "H. Peter Anvin" <hpa@zytor.com> (maintainer:X86 ARCHITECTURE (32-BIT AND
> 64-BIT))
> x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT))
> "GitAuthor: Corcodel Marian" <asd@marian1000.go.ro>
> (authored:1/1=100%,added_lines:66/66=100%)

Did you touch that file and now it fails building? Because this says there's one
commit from you touching arch/x86/include/asm/arch_hweight.h...

-- 
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-13  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <c6e51242-de66-2bde-bee1-bf63fea31fae@marian1000.go.ro>
2017-04-13  9:43 ` Incorrect usage of macro ALTERNATIVE in arch/x86/include/asm/arch_hweight.h Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).