diff options
Diffstat (limited to 'arch/ia64/kernel/efi.c')
-rw-r--r-- | arch/ia64/kernel/efi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 269f4f4adfed..d59134d7e73c 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c | |||
@@ -762,7 +762,7 @@ efi_mem_attribute (unsigned long phys_addr, unsigned long size) | |||
762 | if (!md || (md->attribute & ~EFI_MEMORY_RUNTIME) != attr) | 762 | if (!md || (md->attribute & ~EFI_MEMORY_RUNTIME) != attr) |
763 | return 0; | 763 | return 0; |
764 | } while (md); | 764 | } while (md); |
765 | return 0; | 765 | return 0; /* never reached */ |
766 | } | 766 | } |
767 | 767 | ||
768 | u64 | 768 | u64 |
@@ -798,7 +798,7 @@ kern_mem_attribute (unsigned long phys_addr, unsigned long size) | |||
798 | if (!md || md->attribute != attr) | 798 | if (!md || md->attribute != attr) |
799 | return 0; | 799 | return 0; |
800 | } while (md); | 800 | } while (md); |
801 | return 0; | 801 | return 0; /* never reached */ |
802 | } | 802 | } |
803 | EXPORT_SYMBOL(kern_mem_attribute); | 803 | EXPORT_SYMBOL(kern_mem_attribute); |
804 | 804 | ||