[Skiboot] [PATCH] hdat: ignore zero length reserves

Stewart Smith stewart at linux.vnet.ibm.com
Thu Mar 30 20:23:23 AEDT 2017


Oliver O'Halloran <oohall at gmail.com> writes:
> Hostboot can export reserved regions with a length of zero and these
> should be ignored rather than being turned into reserved range. While
> we're here fix a memory leak by moving the "too large" region check
> to before we allocate space for the label.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>

Appears to work okay, so merged to master as of
15511cfb042075b5a0e0962f830c4143626546d2

although I had to fiddle things a bit to make it apply, not exactly sure
why.... some minor change in there.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list