lkml.org 
[lkml]   [2012]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv3 1/4] efi: Add a stub for efi_enter_virtual_mode on non-x86
On Mon, Oct 01, 2012 at 08:28:32PM +0000, Arnd Bergmann wrote:
> On Saturday 08 September 2012, Josh Triplett wrote:
> > +#ifdef CONFIG_X86
> > extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if possible */
> > +#else
> > +static void efi_enter_virtual_mode(void) {}
> > +#endif
>
> This has suddenly appeared in linux-next now and is causing warnings.
>
> 8<---
> efi: fix prototype for API stubs
>
> Some functions in the efi API have recently been added as versions for non-x86,
> but are missing an "inline" keyword, which causes these warnings:
>
> include/linux/efi.h:503:13: error: 'efi_enter_virtual_mode' defined but not used [-Werror=unused-function]
> include/linux/efi.h:504:13: error: 'efi_late_init' defined but not used [-Werror=unused-function]
> include/linux/efi.h:505:13: error: 'efi_free_boot_services' defined but not used [-Werror=unused-function]

Already fixed in current tip; please refresh from there.

- Josh Triplett


\
 
 \ /
  Last update: 2012-10-01 23:41    [W:0.053 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site