lkml.org 
[lkml]   [2011]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86, efi: Only print warning when desc_size is smaller than defined one.
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@srcf.ucam.org


\
 
 \ /
  Last update: 2011-04-28 15:09    [W:0.612 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site