Re: [PATCH 4/4] efi: Make efi virtual runtime map passing more robust

From: Borislav Petkov
Date: Mon Jan 13 2014 - 05:27:46 EST


On Mon, Jan 13, 2014 at 01:40:39PM +0800, Dave Young wrote:
> Adding a safeguard check for desc_size is better though currently it's
> impossible for the desc_size > PAGE_SIZE?

Huh, what?

sizeof(efi_memory_desc_t) is only 40 bytes AFAICT.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
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/