]> git.baikalelectronics.ru Git - kernel.git/commit
x86, tools: Fix up compiler warnings
authorMatt Fleming <matt.fleming@intel.com>
Wed, 5 Mar 2014 10:03:59 +0000 (10:03 +0000)
committerMatt Fleming <matt.fleming@intel.com>
Wed, 5 Mar 2014 10:12:39 +0000 (10:12 +0000)
commit4f26855239e2c774751cf4a1cc87a034c3a94c6f
treeb131c0d5af97e3e2eb553b78cc6d3aa8061d7242
parentca831ca9e49bbf508e07d10fba4499896e26df00
x86, tools: Fix up compiler warnings

The kbuild test robot reported the following errors that were introduced
with commit cecadfeaf964 ("x86, tools: Consolidate #ifdef code"),

  arch/x86/boot/tools/build.c: In function 'update_pecoff_setup_and_reloc':
>> arch/x86/boot/tools/build.c:252:1: error: parameter name omitted
    static inline void update_pecoff_setup_and_reloc(unsigned int) {}
    ^
  arch/x86/boot/tools/build.c: In function 'update_pecoff_text':
>> arch/x86/boot/tools/build.c:253:1: error: parameter name omitted
    static inline void update_pecoff_text(unsigned int, unsigned int) {}
    ^
>> arch/x86/boot/tools/build.c:253:1: error: parameter name omitted

   arch/x86/boot/tools/build.c: In function 'main':
>> arch/x86/boot/tools/build.c:372:2: warning: implicit declaration of function 'efi_stub_entry_update' [-Wimplicit-function-declaration]
    efi_stub_entry_update();
    ^
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
arch/x86/boot/tools/build.c