Re: [PATCH] x86, e820: panic on sanitizing invalid memory map

2014-10-20 Thread Martin Kelly
On 10/17/2014 09:41 PM, Martin Kelly wrote: > sanitize_e820_map returns two possible values: > -1: Returned when either the provided memory map has length 1 (ok) or > when the provided memory map is invalid (not ok). > 0: Returned when the memory map was correctly sanitized. > > In addition,

Re: [PATCH] x86, e820: panic on sanitizing invalid memory map

2014-10-20 Thread Martin Kelly
On 10/17/2014 09:41 PM, Martin Kelly wrote: sanitize_e820_map returns two possible values: -1: Returned when either the provided memory map has length 1 (ok) or when the provided memory map is invalid (not ok). 0: Returned when the memory map was correctly sanitized. In addition, most

[PATCH] x86, e820: panic on sanitizing invalid memory map

2014-10-17 Thread Martin Kelly
sanitize_e820_map returns two possible values: -1: Returned when either the provided memory map has length 1 (ok) or when the provided memory map is invalid (not ok). 0: Returned when the memory map was correctly sanitized. In addition, most code ignores the returned value, and none actually

[PATCH] x86, e820: panic on sanitizing invalid memory map

2014-10-17 Thread Martin Kelly
sanitize_e820_map returns two possible values: -1: Returned when either the provided memory map has length 1 (ok) or when the provided memory map is invalid (not ok). 0: Returned when the memory map was correctly sanitized. In addition, most code ignores the returned value, and none actually