lkml.org 
[lkml]   [2019]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/microcode: make stub function static inline
On Wed, Dec 11, 2019 at 06:33:53PM -0500, Valdis Klētnieks wrote:
> Were you building with W=1 (so gcc issues extra warnings) and C=1 or 2
> so sparse is run?

[boris@zn: ~/kernel/linux> make W=1 C=1 arch/x86/kernel/cpu/microcode/
...

LINK /mnt/kernel/kernel/linux/tools/objtool/objtool
CHECK arch/x86/kernel/cpu/microcode/core.c
CC arch/x86/kernel/cpu/microcode/core.o
CHECK arch/x86/kernel/cpu/microcode/intel.c
CC arch/x86/kernel/cpu/microcode/intel.o
CHECK arch/x86/kernel/cpu/microcode/amd.c
arch/x86/kernel/cpu/microcode/amd.c:421:35: warning: Using plain integer as NULL pointer
arch/x86/kernel/cpu/microcode/amd.c:546:35: warning: Using plain integer as NULL pointer
CC arch/x86/kernel/cpu/microcode/amd.o
AR arch/x86/kernel/cpu/microcode/built-in.a

[boris@zn: ~/kernel/linux> git clean -dqfx

...

[boris@zn: ~/kernel/linux> make W=1 C=2 arch/x86/kernel/cpu/microcode/

LINK /mnt/kernel/kernel/linux/tools/objtool/objtool
CHECK arch/x86/kernel/cpu/microcode/core.c
CC arch/x86/kernel/cpu/microcode/core.o
CHECK arch/x86/kernel/cpu/microcode/intel.c
CC arch/x86/kernel/cpu/microcode/intel.o
CHECK arch/x86/kernel/cpu/microcode/amd.c
arch/x86/kernel/cpu/microcode/amd.c:421:35: warning: Using plain integer as NULL pointer
arch/x86/kernel/cpu/microcode/amd.c:546:35: warning: Using plain integer as NULL pointer
CC arch/x86/kernel/cpu/microcode/amd.o
AR arch/x86/kernel/cpu/microcode/built-in.a


--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2019-12-12 09:59    [W:0.048 / U:1.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site