Re: [PATCH] x86, efi: Only print warning when desc_size is smallerthan defined one.

From: Matthew Garrett
Date: Thu Apr 28 2011 - 09:06:12 EST


On Wed, Apr 27, 2011 at 10:22:25AM -0700, Yinghai Lu wrote:

> 1. bootloader aka grub.efi will convert efi memmap to e820 memmap and pass it in boot params.
> and current grub.efi does not compare desc_size and struct size.

So we'll already have crashed and burned before we got here, and so this
check will never fire. I sent a patch to just remove the message on the
28th of March.

There's no way someody could ship a system with a desc_size that's
smaller than sizeof(memdesc). It wouldn't boot anything.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/