[Skiboot] [PATCH] core/pel: Validate 'system-id' DT property before using
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Oct 11 15:53:58 AEDT 2016
Vasant Hegde <hegdevasant at linux.vnet.ibm.com> writes:
> Platforms like mambo doesn't populate 'system-id' DT property. Validate
> these properties before using.
>
> Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
> ---
> core/pel.c | 14 ++++++++++----
> 1 file changed, 10 insertions(+), 4 deletions(-)
I fixed 'make check' (specifically core/test/run-pel.c unit test) and
put in an else memset(0) just to be paranoid and merged to master as of
edf57684bd6821d4d01515b6e599f477e04ca01d.
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list