Skip to content

Commit 87cd637

Browse files
SamuelZOUardbiesheuvel
authored andcommitted
efi/libstub/arm: Make install_memreserve_table static
Fix the following sparse warning: drivers/firmware/efi/libstub/arm-stub.c:68:6: warning: symbol 'install_memreserve_table' was not declared. Should it be static? Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zou Wei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 22090f8 commit 87cd637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/firmware/efi/libstub/efi-stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static struct screen_info *setup_graphics(void)
6565
return si;
6666
}
6767

68-
void install_memreserve_table(void)
68+
static void install_memreserve_table(void)
6969
{
7070
struct linux_efi_memreserve *rsv;
7171
efi_guid_t memreserve_table_guid = LINUX_EFI_MEMRESERVE_TABLE_GUID;

0 commit comments

Comments
 (0)