Skip to content

Commit 1c99dd6

Browse files
committed
lib/mips64: silence werror
1 parent 8d9bff6 commit 1c99dd6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

grub-core/lib/mips64/efi/loongson.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ static struct
4343
} GRUB_PACKED
4444
* loongson_boot_params;
4545

46+
#pragma GCC diagnostic ignored "-Wunused-function"
47+
#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
48+
4649
static void
4750
grub_efi_loongson_init_reset_system (void)
4851
{
@@ -479,7 +482,7 @@ grub_efi_loongson_memmap_sort(struct memmap array[], grub_uint32_t length, mem_m
479482
bpmem->map[index].memtype = memtype;
480483
bpmem->map[index].memstart = array[j].memstart;
481484
bpmem->map[index].memsize = tempmemsize;
482-
grub_dprintf("loongson", "map[%d]:type %x, start 0x%llx, end 0x%llx\n",
485+
grub_dprintf("loongson", "map[%d]:type %x, start 0x%lx, end 0x%lx\n",
483486
index,
484487
bpmem->map[index].memtype,
485488
bpmem->map[index].memstart,

0 commit comments

Comments
 (0)